You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to scan all the blocks in the state, this is the ticket for scanning verified blocks from sapling activation to the tip.
Suggested Design
Count from sapling activation height to LatestChainTip.best_tip_height(), ask the state for each block, then scan it. If there is no block for a height, wait 10 seconds, then try that height again in a loop.
Outside the state there is no distinction between finalised and non-finalised blocks, so this design will scan all of them.
teor2345
changed the title
Scan previously verified blocks
Scan previously verified blocks from block 1 to the tip
Nov 28, 2023
teor2345
changed the title
Scan previously verified blocks from block 1 to the tip
Scan previously verified blocks from sapling activation to the tip
Nov 28, 2023
teor2345
changed the title
Scan previously verified blocks from sapling activation to the tip
Scan verified blocks from sapling activation to the tip
Nov 28, 2023
Motivation
We want to scan all the blocks in the state, this is the ticket for scanning verified blocks from sapling activation to the tip.
Suggested Design
Count from sapling activation height to
LatestChainTip.best_tip_height()
, ask the state for each block, then scan it. If there is no block for a height, wait 10 seconds, then try that height again in a loop.Outside the state there is no distinction between finalised and non-finalised blocks, so this design will scan all of them.
Out of Scope
The text was updated successfully, but these errors were encountered: