Skip to content
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

UDP based spv server status, improved server selection #3148

Merged
merged 13 commits into from
Jan 22, 2021

Conversation

jackrobison
Copy link
Member

@jackrobison jackrobison commented Jan 18, 2021

-adds a UDP protocol for spv clients to minimally ping the spv servers for latency, packet loss, if they are accepting connections, and their sync status

-updates spv client server selection to accumulate up to the first 5 replying servers who are accepting connections using the UDP protocol within a 3 second timeout, whichever happens first. Then attempts TCP connections to the servers one at a time, sorted by latency.

also closes #2142

@lbry-bot lbry-bot assigned shyba and unassigned jackrobison Jan 18, 2021
@jackrobison jackrobison added area: hub type: new feature New functionality that does not exist yet labels Jan 18, 2021
@jackrobison jackrobison linked an issue Jan 20, 2021 that may be closed by this pull request
@jackrobison jackrobison marked this pull request as ready for review January 22, 2021 01:54
@jackrobison jackrobison merged commit 50e17eb into master Jan 22, 2021
@jackrobison jackrobison deleted the udp-wallet-server-status branch January 22, 2021 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: hub type: new feature New functionality that does not exist yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

be smarter about connecting to wallet servers don't rely on internal-apis for external ip
2 participants