nimbus-eth2/research
Jacek Sieka 8b01284b0e
cache block hash (#1329)
hash_tree_root was turning up when running beacon_node, turns out to be
repeated hash_tree_root invocations - this pr brings them back down to
normal.

this PR caches the root of a block in the SignedBeaconBlock object -
this has the potential downside that even invalid blocks will be hashed
(as part of deserialization) - later, one could imagine delaying this
until checks have passed

there's also some cleanup of the `cat=` logs which were applied randomly
and haphazardly, and to a large degree are duplicated by other
information in the log statements - in particular, topics fulfill the
same role
2020-07-16 15:16:51 +02:00
..
.gitignore some ignores 2019-03-26 19:41:34 -06:00
block_sim.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
block_sim.nim.cfg block pool simulator (#956) 2020-05-01 17:51:24 +02:00
simutils.nim Restore compilation with custom presets (#1309) 2020-07-13 16:44:58 +02:00
stack_sizes.nim cleanups (#962) 2020-05-04 07:38:14 +02:00
stack_sizes.nim.cfg cleanups (#962) 2020-05-04 07:38:14 +02:00
state_sim.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
state_sim.nim.cfg add simple wasm page with state simulator (#334) 2020-01-22 15:36:16 +00:00