This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
statedb: allow longer state pruning history #11980
Merged
paritytech-processbot
merged 21 commits into
paritytech:master
from
NingLin-P:state-pruning
Sep 1, 2022
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
ff20ef7
introduce DbBackedQueue for the state pruning window
NingLin-P a0280fa
avoid cloning for next_hash
NingLin-P b05f699
add tests
NingLin-P e8d57d0
make clippy happy
NingLin-P f048c31
impl have_block by checking block number
NingLin-P 206582e
refactor
NingLin-P bc3e31c
fix tests & add test for init db-backed queue
NingLin-P 1944c5c
update comment
NingLin-P d042666
add check for have_state_at
NingLin-P 869eb5d
address comment
NingLin-P d0c7710
renanme unload_blocks to uncached_blocks
NingLin-P abf1354
address comment
NingLin-P 0c0a8eb
Merge branch 'master' of github.com:paritytech/substrate into state-p…
NingLin-P 16969d1
fix syncs_state test
NingLin-P 7c886f7
address comment
NingLin-P acfa7ef
revert change to make_test_db to add test cases
NingLin-P ba46914
Merge branch 'master' of github.com:paritytech/substrate into state-p…
NingLin-P 77c830a
do not prune unavailable block & add tests
NingLin-P 30a1f1e
Update client/state-db/src/lib.rs
917e26e
Update client/state-db/src/pruning.rs
469b0b2
address comment
NingLin-P 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
Update client/state-db/src/pruning.rs
Signed-off-by: linning <[email protected]> Co-authored-by: cheme <[email protected]>
- Loading branch information
commit 917e26eaa547ab4d0b5437fbe62bc7c1cb98353f
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
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.