-
Notifications
You must be signed in to change notification settings - Fork 671
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
Cleanup avalanche bootstrapping fetching #2947
Merged
StephenButtolph
merged 119 commits into
master
from
parallelize-bootstrapping-fetching-dag
Apr 18, 2024
Merged
Changes from all commits
Commits
Show all changes
119 commits
Select commit
Hold shift + click to select a range
16bf45a
Cleanup ID initialization
StephenButtolph e8724d1
wip
StephenButtolph 11749d3
Merge branch 'master' into parallelize-bootstrapping-fetching
StephenButtolph 5f18895
wip
StephenButtolph d016bae
Add checkpoints and validators
StephenButtolph 27206ba
Fetch checkpoints during bootstrapping
StephenButtolph 31ca68f
Fix comment
StephenButtolph a1a9f18
Improve comment
StephenButtolph b61359a
Merge branch 'master' into add-checkpoints
StephenButtolph c5b7aa9
Implement interval tree for syncing
StephenButtolph 63efd3b
Persist intervals
StephenButtolph 2454c46
rename
StephenButtolph 0efa5eb
Add block execution
StephenButtolph 6a65a2a
Add length + TODOs
StephenButtolph f2234bd
nit
StephenButtolph 1f63238
error rather than panic
StephenButtolph 6947876
Refactor database passing
StephenButtolph 28207f4
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph be64296
Add interval tests
StephenButtolph 884f39c
Fix too frequent iterator releases and batch writes
StephenButtolph e4e92cc
nit + support cancellation
StephenButtolph 72314d1
Add invariant comment + tests
StephenButtolph e494033
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph a64b863
wip
StephenButtolph 782a02c
wip
StephenButtolph 8851470
Merge branch 'master' into interval-tree-syncing
StephenButtolph 2b07179
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph 5358587
support cancellation
StephenButtolph 9d24b20
save
StephenButtolph 0de6142
remove test code
StephenButtolph e658404
keep acceptor callback
StephenButtolph 03f60c6
lint
StephenButtolph 30ac2fb
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph f81281a
fix test
StephenButtolph 410db8c
Merge branch 'interval-tree-syncing-integration' of github.com:ava-la…
StephenButtolph 984849c
remove incorrect db cleanup
StephenButtolph f4a724a
nits
StephenButtolph f01b6a3
allow specifying the log level
StephenButtolph 9d7383f
merged
StephenButtolph 0021f3e
cleanup metrics
StephenButtolph f1933d6
lint
StephenButtolph dd4a57f
add error information
StephenButtolph d5da1e9
upstream
StephenButtolph 7373a89
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph 25e2801
cleanup
StephenButtolph 5ca206b
reduce copied code
StephenButtolph cd90ef1
Merge branch 'interval-tree-syncing-integration' of github.com:ava-la…
StephenButtolph d9a7f8a
nit cleanup
StephenButtolph bd2b2d2
nit cleanup
StephenButtolph f0c5c10
Merge branch 'master' into interval-tree-syncing
StephenButtolph 68ea448
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph bef4ed5
merged
StephenButtolph f05e324
nit
StephenButtolph b6d6ba9
Merge branch 'master' into interval-tree-syncing
StephenButtolph 281dc8d
merged
StephenButtolph 06fd656
Merge branch 'master' into interval-tree-syncing
StephenButtolph 672c23f
merged
StephenButtolph 175ab8e
nit
StephenButtolph c89d24d
Remove redundent interface
StephenButtolph 249819c
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph a736e6c
nit
StephenButtolph faa5329
nit
StephenButtolph bc3fedf
nit
StephenButtolph 8134e16
nit
StephenButtolph 9991e39
Move GetMissingBlockIDs and Execute out of the interval package
StephenButtolph 2877502
Merge branch 'master' into interval-tree-syncing
StephenButtolph 50754ad
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph a7e2458
wip
StephenButtolph f1dd0a6
nit
StephenButtolph bf29d86
remove storage
StephenButtolph 0626129
merged
StephenButtolph 5a8fadc
nit
StephenButtolph 69ed897
nit
StephenButtolph 9815047
nit
StephenButtolph 5bf4899
nit
StephenButtolph 9da3bc1
nit
StephenButtolph 93aac21
Merge branch 'interval-tree-syncing' into interval-tree-syncing-integ…
StephenButtolph bd5687a
nit
StephenButtolph b6e3ee1
merged
StephenButtolph c376df2
add process test
StephenButtolph 53bdb78
nit
StephenButtolph 7310832
nit
StephenButtolph 7de5499
wip
StephenButtolph 4f88827
wip
StephenButtolph 21d1fd1
remove duplicate code
StephenButtolph dd98c10
nit
StephenButtolph 81f4b67
nit fix log check
StephenButtolph 03a22b8
nit
StephenButtolph 3499480
merged
StephenButtolph f19715d
merged
StephenButtolph ab8688c
add comment
StephenButtolph 29913c9
update checkpoints
StephenButtolph baec0cc
fix merge
StephenButtolph 5ab0a6e
update validators
StephenButtolph 348cb0f
Manually track recent validators
StephenButtolph e3b7eed
merged
StephenButtolph a8ff0a1
parallel
StephenButtolph 667372c
increase number of checkpoints
StephenButtolph db7c0c8
update validators
StephenButtolph ed549e3
Add regression test
StephenButtolph 266d775
merged
StephenButtolph 2802c19
Remove dead code
StephenButtolph bb1748f
fix tests
StephenButtolph ad60d8a
Apply suggestions from code review
StephenButtolph bcf1c26
nits
StephenButtolph 754fd1c
regen
StephenButtolph 1348b66
nit
StephenButtolph 28a6c3b
Merge branch 'add-checkpoints' into parallelize-bootstrapping-fetching
StephenButtolph 71513e7
nit
StephenButtolph 6578195
Merge branch 'parallelize-bootstrapping-fetching' of github.com:ava-l…
StephenButtolph 918acdf
nit
StephenButtolph 713a06f
this test sucks
StephenButtolph bdeb1b8
Cleanup avalanche bootstrapping fetching
StephenButtolph 965dc19
merged
StephenButtolph 951f30c
Merge branch 'parallelize-bootstrapping-fetching' into parallelize-bo…
StephenButtolph 76ad408
Merge branch 'master' into parallelize-bootstrapping-fetching
StephenButtolph 8bcc74c
Merge branch 'parallelize-bootstrapping-fetching' into parallelize-bo…
StephenButtolph adcde6e
merged
StephenButtolph 6d2043a
merged
StephenButtolph 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
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.
This function was refactored to be more similar to the snowman code. The major difference here is that we no longer "optimistically" accept any vertices. If we didn't request it, we will drop it. (which should never happen anyways because the message should have been dropped at the network level now)