nimbus-eth2/beacon_chain
Jacek Sieka 7e0bf7b1b5
Add separate state for clearance (#1352)
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.
2020-07-22 08:25:13 +02:00
..
2020-07-16 15:16:51 +02:00
2020-07-16 15:16:51 +02:00
2019-09-02 22:14:18 +03:00
2020-07-16 15:16:51 +02:00
2020-07-16 15:16:51 +02:00
2020-07-16 15:16:51 +02:00
2020-07-16 15:16:51 +02:00
2020-07-10 16:30:45 +03:00
2020-07-16 15:16:51 +02:00
2020-07-16 15:16:51 +02:00
2020-07-16 13:01:18 +03:00
2020-07-16 15:16:51 +02:00
2020-07-16 15:16:51 +02:00
2020-07-16 15:16:51 +02:00