-
Notifications
You must be signed in to change notification settings - Fork 839
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
Add experimental --Xsnapsync-bft-enabled
which enables snap sync for BFT chains
#7140
Merged
Merged
Changes from 25 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
fac9ba1
Create a BFT-specific pivot block handler
matthew1001 9350855
Change visibility
matthew1001 7530d58
Refactor sync-peer-count internal variable to match name, add experim…
matthew1001 465b1d7
Merge with main
matthew1001 6d6942d
Fix uppercase
matthew1001 1cd5d18
Address synchronization issue with trie pruning. Create BFT-specific …
matthew1001 e60d8fb
Remove debug log
matthew1001 3d9bd1d
fixing snapsync for empty state
matkt 2649d76
Don't queue up events we can't handle
matthew1001 c300ffc
Fix timing window where a validator with an empty data dir sometimes …
matthew1001 0a04ef5
Remove BFT-specific account request class. Not needed
matthew1001 6710391
Refactor some more 'fast' sync variables that are common to all pivot…
matthew1001 0726278
In FULL sync mode, disable bonsai-limit-trie-logs-enabled instead of …
matthew1001 ac1f30b
Merge branch 'main' into qbft-snap
matthew1001 f4db27d
Add javadoc comments, clarify overriding bonsai-limit-trie-logs-enabled
matthew1001 62ebafe
Add BFT pivot block selector tests
matthew1001 0a7f111
Fix failure error message
matthew1001 d8e2aa2
Remove the unnamed Pipe constructor and update tests to set a pipe name
matthew1001 96adb0f
Revert some info logs back to debug given the feedback on noise in th…
matthew1001 31c0cd3
Merge branch 'main' into qbft-snap
matthew1001 b99d8aa
Merge branch 'main' into qbft-snap
matthew1001 dd04c62
Refactor fastSyncPivotDistance to syncPivotDistance
matthew1001 06964f0
Incomplete refactoring
matthew1001 f313912
Update BFT event queueing tests
matthew1001 7bd09e3
Event queue test fixes
matthew1001 3bf0c8b
Remove automatic setting of bonsai-limit-trie-logs-enabled to false i…
matthew1001 6ba69e1
Merge branch 'main' into qbft-snap
matthew1001 14ee678
Merge branch 'main' into qbft-snap
matthew1001 252c0e8
Merge branch 'main' into qbft-snap
matthew1001 29d9191
Merge branch 'main' into qbft-snap
matthew1001 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
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.
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.
why we are removing this one ?
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.
This is going to get refactored into a separate PR (see Gary's comment #7140 (comment)).
But the reason for removing it is I've changed the logic to set
--bonsai-limit-trie-logs-enabled=false
if--sync-mode=FULL
, rather than force the user to set--bonsai-limit-trie-logs-enabled=false
. Seebesu/besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java
Line 2251 in 7bd09e3
It's a bit like how we automatically set
--tx-pool-price-bump=0
if--min-gas-price=0
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.
Ok thanks for the info 🙏