-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Deduplicate blocksync #3543
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
Deduplicate blocksync #3543
Changes from 35 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
509c266
First draft for unifiying block synchronization logic
kaimast 058a524
Merge branch 'staging' into deduplicate-blocksync
kaimast f14c056
Merge staging
kaimast 2d88d4d
Merge branch 'staging' into deduplicate-blocksync
kaimast 258ffcb
Comments and minor refactoring
kaimast 1270b34
Merge remote-tracking branch 'origin/staging' into deduplicate-blocksync
kaimast 173e8e4
More comment updates
kaimast 9e4d4db
Merge remote-tracking branch 'origin/staging' into deduplicate-blocksync
kaimast 4adaf15
Simplify tests
kaimast 86c89a2
Prefer disconnecting from clients over validators
kaimast d8a11cf
Improve comments
kaimast 3a5d597
Remove obsolete TODO
kaimast 36fe568
Simplify sorting
kaimast 9d5dd0f
Address code review comments
kaimast 194aef8
Improve handling of provers in heartbeat
kaimast 19a7ead
Actually remove the oldest peer
kaimast 65a23bd
Revert back to `peer_ip` for a peers public address
kaimast 7a3b010
Use first() instead of into_iter().next()
kaimast 15a0b2c
Add tests for heartbeat logic
kaimast c39ec5c
Update comments and add license to tests
kaimast d7d6160
Simplify tests
kaimast e015a5d
Remove logging from tests
kaimast b893f86
Reorder imports
kaimast 31ec40d
Fix typo
kaimast f439dd7
Fix bug in test_obsolete_block_requests
kaimast 4bd2f8e
logs: remove the low-level h2 entries
ljedrz ef404d8
refactor: move the committee cache to snarkVM
ljedrz 8805857
chore: update the lockfile
ljedrz 0c75996
Remove client specific code from BlockSync.
kaimast c4b30b8
Merge remote-tracking branch 'origin/staging' into deduplicate-blocksync
kaimast 242f9a5
Fix typo in function documentation
kaimast 770606d
Fix occasional failure of test_batch_propose_from_peer_with_invalid_t…
kaimast baf2690
Fix typos in some comments
kaimast fa90c8b
Revert renaming of constants in bft/src/lib.rs
kaimast b46d308
Merge branch 'staging' into deduplicate-blocksync
vicsn b815526
Add --yes for rust uninstall in windows CircleCI
kaimast a05efcf
Remove derive(Clone) from BlockSync
kaimast 6a23647
Minor comment update
kaimast 1bbd4d5
Move Gateway callbacks to their own functions
kaimast 02143a7
Merge staging and remove Tcp from BlockSync
kaimast 4f941ca
Address Howard's comments and clean up some more
kaimast a2216b0
Pass block_sync after ledger
kaimast 42ecf43
Merge origin/staging
kaimast 233d833
Remove unneeded changes to Windows CircleCI
kaimast effa3e9
Merge remote-tracking branch 'origin/staging' into deduplicate-blocksync
kaimast f535847
Improve documentation for block sync
kaimast bff7a23
Re-add removed test_targets feature for snarkos_node_bft
kaimast af11dce
Update node/bft/src/primary.rs
kaimast 3c75ef7
Merge staging
kaimast 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.
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.