-
Notifications
You must be signed in to change notification settings - Fork 20.3k
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
les, les/lespay: implement new server pool #20758
Merged
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
d6d27cd
les: new server pool
zsfelfoldi ce4930c
les/utils: NodeStateMachine simplifications
zsfelfoldi 71d1497
les/utils: handle enode.Node inside NodeStateMachine
zsfelfoldi c73cac6
les/utils: fixed NodeStateMachine tests
zsfelfoldi aef76b6
les/lespay/client: fixed tests
zsfelfoldi e769402
les: fixed serverpool test
zsfelfoldi 07bc71a
les/utils: add comments
zsfelfoldi a5bec6c
les/utils: fix linter warnings
zsfelfoldi 136b341
les: add node state logger, fix bug
zsfelfoldi 0065fe1
les: add persistent redialWait timeouts
zsfelfoldi 1d37de2
les: fixed test and removed debug prints
zsfelfoldi 3604369
les: add metrics
zsfelfoldi 185f59f
p2p/nodestate: moved NodeStateMachine to its own package
zsfelfoldi 1fa4919
p2p/nodestate, les: changed flag/field definition
zsfelfoldi b032eab
les, p2p/nodestate: fixed tests
zsfelfoldi 44942ee
p2p/nodestate: removed unnecessary errors and added comments
zsfelfoldi 6948793
p2p/nodestate: fix after rebase
zsfelfoldi 8028528
cmd/utils: use les DNS list for --syncmode=light
fjl e7d7a4f
les: remove redundant ENR filter on DNS output
fjl 095bc6e
les/lespay/client: use sync.Cond in QueueIterator
fjl 52fbd74
les/lespay/client: use sync.Cond in WrsIterator
fjl a543d42
cmd/utils: revert default DNS setup condition
fjl c0a1ca3
les/lespay/client: use enode.SignNull in test
fjl df77440
les/lespay/client: fix wrs iterator panic
fjl c65ba19
les: remove goroutine in weight callback
fjl 2eb1018
les/lespay/client: fixed race condition in WrsIterator test
zsfelfoldi 3452414
les: move NodeStateMachine construction inside serverPool
zsfelfoldi 12320a5
les/lespay/client: add PreNegFilter
zsfelfoldi 2d4e7e5
les: nodeWeights field
zsfelfoldi 4f94866
les: sp test
zsfelfoldi 477b5cd
les: sp test fix
zsfelfoldi 95fdee9
les: fixed sp test
zsfelfoldi e37b225
les/lespay/client: fixed tests
zsfelfoldi 2fba0ce
p2p/nodestate: fixed minor issues
zsfelfoldi a5c13c5
les: removed dummyQuery
zsfelfoldi 1562211
les/lespay/client: TestPreNegFilter
zsfelfoldi 92e5552
les: avoid persisting clock
rjl493456442 904b835
les: polish
rjl493456442 9a1f898
les: use real-time clock for redialWait
zsfelfoldi d1ffbf8
les: refactored node stats, weights and wait time calculation
zsfelfoldi 8810945
p2p/nodestate: use uint operands for bit shift
zsfelfoldi bc628b9
les: remove unnecessary connectedStats flag reset
zsfelfoldi b4aed55
les, les/lespay/client: more elegant pre-neg filter
zsfelfoldi 94315f7
les: add recovery mechanism for UDP not working
zsfelfoldi 0d34da1
les: removed mclock rtc
zsfelfoldi 1cc3502
p2p/nodestate: removed mapping conversion, added simple version checking
zsfelfoldi 478f506
les: drop known node if redialWait becomes extremely long
zsfelfoldi 33928fe
eth: switched ethEntry back to lower case
zsfelfoldi ee8eb42
les: start serverPool first
zsfelfoldi 816b90b
les: fixed redialWait calculation
zsfelfoldi 4da949e
les: add mixer timeout
zsfelfoldi 6041177
p2p/nodestate: fix duplicated flags
rjl493456442 0106fae
les/utils: fixed ExpirationFactor.Value overflow error
zsfelfoldi 5749d01
les: made serverpool test safer
zsfelfoldi ab6c8bc
les: make dial timeout safe
zsfelfoldi 85a22fb
les: more readable redialWait logic
zsfelfoldi d038392
les: changed flag names
zsfelfoldi 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
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
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
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.
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.
Not sure it will break something for changing the order of stop.