nimbus-eth2/beacon_chain/spec
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
..
eth2_apis Add an option for graffiti customization 2020-07-12 21:01:31 +03:00
presets/v0_12_1 Restore compilation with custom presets (#1309) 2020-07-13 16:44:58 +02:00
beaconstate.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
crypto.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
datatypes.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
digest.nim eth2hash -> eth2digest 2020-06-16 13:30:21 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
helpers.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
keystore.nim Merge devel and resolve the conflicts 2020-07-08 15:36:03 +03:00
network.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
preset_values.nim Restore compilation with custom presets (#1309) 2020-07-13 16:44:58 +02:00
presets.nim Restore compilation with custom presets (#1309) 2020-07-13 16:44:58 +02:00
signatures.nim Merge devel and resolve the conflicts 2020-07-08 15:36:03 +03:00
state_transition.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
state_transition_block.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
state_transition_epoch.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
state_transition_helpers.nim update most remaining non-fork-choice spec refs, updating code where necessary (#1292) 2020-07-09 11:43:27 +00:00
validator.nim restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00