7e0bf7b1b5
When clearing blocks, a callback is called - this callback, if it uses `tmpState`, will be corrupted because it's not fully up to date when the callback is called - we thus introduce a specific state cache for this purpose - ideally, it can be removed later when epoch caching is improved. Incidentally, this helps block sync speed a lot - without this state, the block sync would ping-pong between attestation state and block state which is costly. |
||
---|---|---|
.. | ||
block_pools_types.nim | ||
candidate_chains.nim | ||
clearance.nim | ||
quarantine.nim |