nimbus-eth2/beacon_chain/block_pools
Jacek Sieka 1301600341
Trusted blocks (#1227)
* cleanups

* fix ncli state root check flag
* add block dump to ncli_db
* limit ncli_db benchmark length
* tone down finalization logs

* introduce trusted blocks

We only store blocks whose signature we've verified in the database - as
such, there's no need to check it again, and most importantly, no need
to deserialize the signature when loading from database.

50x startup time improvement, 200x block load time improvement.

* fix rewinding when deposits have invalid signature
* speed up ancestor iteration by avoiding copy
* avoid deserializing signatures for trusted data
* load blocks lazily when rewinding (less memory used)

* chronicles workarounds

* document trustedbeaconblock
2020-06-25 12:23:10 +02:00
..
block_pools_types.nim Trusted blocks (#1227) 2020-06-25 12:23:10 +02:00
candidate_chains.nim Trusted blocks (#1227) 2020-06-25 12:23:10 +02:00
clearance.nim Revert "Dual headed fork choice [Reloaded] (#1223)" (#1234) 2020-06-25 11:36:03 +02:00
quarantine.nim Attestation validator now populates list of missing blocks. (#1211) 2020-06-23 11:29:08 +02:00