-
Notifications
You must be signed in to change notification settings - Fork 21.9k
eth/protocols/eth: implement eth/69 #29158
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
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
e429b91
eth/protocols/eth: started work on eth/69, drop receipt blooms
MariusVanDerWijden 5e94e51
core/types: lint
MariusVanDerWijden 156ad98
eth/protocols/eth: lint
MariusVanDerWijden d86f054
eth/protocols/eth: unpack receipts correctly
MariusVanDerWijden 08b6d49
WIP
fjl fc4e4b3
core/types: fix rebase issue
fjl ad8fe2f
eth/protocols/eth: fix tests
MariusVanDerWijden 1b8422c
core: pass rlp value through the codebase
MariusVanDerWijden f213897
eth/protocols/eth: fix handleReceipts69
MariusVanDerWijden 1cf340d
eth/protocols/eth: happy lint, happy life
MariusVanDerWijden ff3cb69
core/types: doc
MariusVanDerWijden c3960e0
eth/protocols/eth: update eth/69 for status changes and BlockRangeUpdate
fjl 7b73920
cmd/devp2p/internal/ethtest: update for eth/69
fjl 482f5cd
eth/protocols/eth: remove tracker.go
fjl a11358d
eth: implement BlockRangeUpdate sending
fjl 96ed987
eth: change log message
fjl d96f2db
eth/protocols/eth: remove duplicated info in error message
fjl 070065c
eth/protocols/eth: add decoder method for ReceiptList69
fjl a9a94e3
eth/protocols/eth: remove one more use of errDecode
fjl 6cd2580
eth/protocols/eth: fix error
fjl 0cffccf
eth/protocols/eth: fix crash
fjl e325130
eth/protocols/eth: add missing ListEnd call
fjl a9840b8
eth/protocols/eth: add test for message decoding
fjl 00846fb
eth/protocols/eth: update handler
fjl fa854ca
eth/protocols/eth: fix receipt encoding for storage
fjl f96cfce
eth/protocols/eth: improve server
fjl 5943631
eth/protocols/eth: fix receipt hashing
fjl 268f33a
eth/protocols/eth: simplify
fjl b89eb04
eth/protocols/eth: fix crash for eth/68
fjl 3571ef3
eth/protocols/eth: store block range on peer
fjl 6b19304
eth: embed range in peerInfo
fjl 12eade0
eth/protocols/eth: reimplement eth/68 receipts
fjl 1fa7e70
eth/protocols/eth: put latest snap block in handshake
fjl 230e660
eth/protocols/eth: add tests for ReceiptList68
fjl b7fdaf2
eth/protocols/eth: update fuzzer
MariusVanDerWijden 76b546c
core/types: rename ReceiptsToRLP -> EncodeBlockReceiptLists
fjl dd57576
core/types: optimize EncodeBlockReceiptLists
fjl d8de9f4
eth/protocols/eth: pass initial block range into handshake
fjl fc0b78e
eth/protocols/eth: validate BlockRangeUpdate messages
fjl dd4ca3b
cmd/devp2p/internal/ethtest: add two tests for eth/69
fjl b2cef4b
cmd/devp2p/internal/ethtest: ensure requested receipt lists are non-e…
fjl 818b10c
core: change GetRawReceiptsByHash -> GetRawReceipts to resolve a conf…
fjl 14d1bea
Merge branch 'master' into eth-69
fjl ca17cd9
eth: gofmt
fjl 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 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
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.
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.
Should we also maintain a RLP cache for the raw receipt data?
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.
I don't think its necessary. Syncing nodes will probably ask very different receipts which makes a cache unnecessary