nimbus-eth2/beacon_chain/fork_choice
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
..
README.md bump a couple more eth2 phase0 spec refs to v0.11.1 2020-04-17 16:37:52 +03:00
fork_choice.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
fork_choice_types.nim [Split fork choice PR] Derisk-ed attestation checks changes (#1154) 2020-06-10 08:58:12 +02:00
proto_array.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00