Cache header validation point (in case of crash) #4518
Labels
m:sync
module: ckb-sync
stale
To be closed due to a lack of activity
t:enhancement
Type: Feature, refactoring.
Feature Request
Is your feature request related to a problem? Please describe.
When using CKB with assume_valid, currently the header verification always starts at block 0. In the case of a crash, header validation begins at block 0 again
Describe the solution you'd like
While header validation is ongoing, cache in the ckb node the latest header that has been verified, so in the case of a crash the node can start at the latest point
The text was updated successfully, but these errors were encountered: