Commit 030ba80b authored by Davide Galassi's avatar Davide Galassi Committed by GitHub
Browse files

Limit number of blocks per level (2nd attempt) (#1559)



Prevents the StateDbError::TooManySiblingBlocks error from being triggered by eagerly removing 
stale blocks from the backend on block import and before the error condition is met.

Introduces a just in time block recovery mechanism for blocks that were wrongly removed
via an explicit pov-recovery method

Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 79d8c5c3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment