-
Notifications
You must be signed in to change notification settings - Fork 21.6k
eth, p2p: improve dial speed by pre-fetching dial candidates #31944
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
20 commits
Select commit
Hold shift + click to select a range
721b494
p2p: implement naive version of discv4 forkid filtering
cskiraly 26feecf
p2p: allow several asyncFilter lookups in parallel
cskiraly c1af08f
change from workers to goroutines
cskiraly e7ea81d
fix close sequence
cskiraly 7e96294
adding docs to AsyncFilter
cskiraly 83b16c7
p2p: set timeout on FairMix in Backend,reduce timeout
cskiraly 835a4e5
add maxParallelENRRequests parameter
cskiraly a80c579
simplify AsyncFilter design
cskiraly 33660b3
p2p/enode: don't pass error in AsyncFilter check
cskiraly 414021a
p2p/enode: add BufferIter to support prefetching
cskiraly 83e5556
p2p/enode: fixup BufferIterator
cskiraly 0608eb2
p2p/enode: sync BufferIter Close and Next
cskiraly fab2459
p2p/enode: return Iterator interface
cskiraly c29688a
eth/enode: simplify BufferIter
cskiraly 2a9b060
p2p/enode: closed channel not needed in bufferIter
cskiraly 8d8047b
eth: add pre-fetch in discovery to avoid stalls
cskiraly 945d890
p2p/enode: unexport asyncFilterIter, bufferIter
fjl 54f52bd
p2p/enode: implement SourceIterator for buffer and async filter
fjl 2da18aa
p2p/enode: add more documentation on AsyncFilter
fjl 0b529e5
p2p: restore default discovery
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
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.
0xB7Bf0782C40380B73917C776dE24d2878cFd47df