This repository has been 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.6k
Fast sync child trie support. #9239
Merged
paritytech-processbot
merged 27 commits into
paritytech:master
from
cheme:sync_with_child
Nov 7, 2021
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
9fa6545
state machine proofs.
cheme a10819d
initial implementation
cheme 8bb1dfa
Remove todo.
cheme 9414a66
Extend test and fix import.
cheme 1377863
fix no proof, with proof ko.
cheme ae23998
fix start at logic.
cheme 3ae8493
Restore response size.
cheme 0b37f3e
Rework comments.
cheme 8d5c3f4
Add explicit ref
cheme 0d08f53
Use compact proof.
cheme af0c298
ref change
cheme 717266d
Merge branch 'master' into sync_with_child
cheme 0a22cd8
elaborato on empty change set condition.
cheme 54b2966
KeyValueState renaming.
cheme 4bd673f
Do not add two time child trie with same root to sync reply.
cheme ec16f9e
Merge branch 'master' into sync_with_child
cheme 043f035
rust format
cheme 5115bc9
Merge branch 'master' into sync_with_child
cheme 7c0ff49
Fix merge.
cheme e1e1833
Merge branch 'master' into sync_with_child
cheme 360c868
Merge branch 'master' into sync_with_child
cheme 6c7d5e5
Merge branch 'master' into sync_with_child
cheme c4aa2d4
fix warnings and fmt
cheme e4d299e
Merge branch 'master' into sync_with_child
cheme 670c67a
fmt
cheme e4cec7d
update protocol id to V2
cheme 697f724
Merge branch 'master' into sync_with_child
cheme 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
response.entries
could be empty here?Also, why
self.last_key.len() == 2
? Could use some explaining in the comment.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is empty when the whole change set is into a child trie: then we do not have the parent key in parent payload (already define in previous payload). I will add comment.