forked from dashpay/rust-dashcore
-
Notifications
You must be signed in to change notification settings - Fork 0
feat(dash-spv): startup consistency check and reorg-in-progress sentinel #167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
72d2371
feat(storage): add reorg-in-progress sentinel and `delete_metadata` t…
xdustinface 13b4c5e
feat(dash-spv): write reorg sentinel before cascade and clear after s…
xdustinface ab0d42b
feat(storage): add `check_and_repair_consistency` for cross-storage i…
xdustinface ca43e60
feat(storage): compute valid tip via `header_hash_index` when sentine…
xdustinface a267c95
feat(storage): truncate cache to last readable segment when a segment…
xdustinface 7918d21
feat(storage): validate and clear stale chainlock on startup
xdustinface 8f8b382
docs(storage): document why the consistency check precedes the backgr…
xdustinface 17aea59
feat(key-wallet): add `WalletInterface::clamp_heights_to` and call fr…
xdustinface 3e25bea
test(storage): unit tests for sentinel and consistency repair
xdustinface b5c04da
chore: apply `cargo fmt` to startup consistency check files
xdustinface 21834b0
chore: pr cleanup — move inline imports to module top, fix qualified …
xdustinface bc7beb9
fix(storage): address manki review findings for startup consistency PR
xdustinface 7a5bfcd
test(storage): cover 'filters but no filter headers' path and block-s…
xdustinface f3d1ddd
fix(storage): clear orphaned filters when filter headers are absent o…
xdustinface c605fe2
fix(storage): include all on-disk segment IDs in `SegmentCache::clear…
xdustinface 4372353
test(storage): verify `clear_all` durability survives reopen in consi…
xdustinface 9ca1e8a
fix(dash-spv): drop block-header read guard before acquiring wallet lock
xdustinface 60e2b9a
test(storage): cover sentinel-cleared path when block headers are empty
xdustinface 0c1fa05
docs(key-wallet-manager): document `clamp_heights_to` as intentionall…
xdustinface File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.