157ddd2ac4
* limit attestations kept in attestation pool With fork choice updated, the attestation pool only needs to keep track of attestations that will eventually end up in blocks - we can thus limit the horizon of attestations that we keep more aggressively. To get here, we expose getEpochRef which gets metadata about a particular epochref, and make sure to populate it when a block is added - this ensures that state rewinds during block addition are minimized. In addition, we'll use the target root/epoch when validating attestations - this helps minimize the number of different states that we need to rewind to, in general. * remove CandidateChains.justifiedState unused * remove BlockPools.Head object * avoid quadratic quarantine loop * fix |
||
---|---|---|
.. | ||
.gitignore | ||
block_sim.nim | ||
block_sim.nim.cfg | ||
simutils.nim | ||
stack_sizes.nim | ||
stack_sizes.nim.cfg | ||
state_sim.nim | ||
state_sim.nim.cfg |