nimbus-eth2/beacon_chain/block_pools
Jacek Sieka 6b9419e547
fix db growth on attestation processing (#1860)
It turns out that we often save lots of states in the database that are
the result of empty slot processing only - here, we make sure to only
save a state if a block follows - this fixes several issues:

* empty slot states are not always pruned leading to state database size
explosion
* storing states is (very) slow which slows down processing in general,
so we should only do it when it's likely to be useful
* attestation processing doesn't get stuck on saving random states that
won't appear in the chain history
2020-10-15 14:28:44 +02:00
..
block_pools_types.nim Address review comments 2020-10-07 09:32:03 +03:00
chain_dag.nim fix db growth on attestation processing (#1860) 2020-10-15 14:28:44 +02:00
clearance.nim p2p-interface spec ref bump (except non-updated places) (#1862) 2020-10-12 14:37:14 +00:00
quarantine.nim stop discarding future epochs; remove a StateCache() construction (#1610) 2020-09-07 15:04:33 +00:00
spec_cache.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00