-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: download block ranges #3416
Conversation
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.
good start, left some suggestions
6ce38d9
to
5f63a48
Compare
Need to now integrate this |
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.
nice, this is pretty close I think.
needs some fine-tuning but the integration into consensus engine shouldn't be that difficult if we return the blocks via the existing event variant
Codecov Report
... and 8 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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 looks very good!
the on_missing
section is a bit large now, and I'd would like to extract this to a standalone function
@Rjected what's missing here? seeing the following in your list:
|
ce9572d
to
4539e76
Compare
d5814bf
to
ae8c367
Compare
ae8c367
to
9b9494d
Compare
Let's try to get this in by Thursday and test it w/ rest of merged code on main so we can release Friday AM! |
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 looks very good,
love the tests.
the integration in the engine is very simple which is super nice.
This lets the engine download entire block ranges rather than one-by-one. This mainly implements the full block range client, which is currently modeled after the single full block client.
TODO:
This is the download half of #3117