Skip to content
Snippets Groups Projects
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 <bkchr@users.noreply.github.com>
parent 79d8c5c3
No related merge requests found
Showing
with 1091 additions and 179 deletions
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