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

Retry bootstrap more than once #2042

Open
iphydf opened this issue Feb 16, 2022 · 1 comment
Open

Retry bootstrap more than once #2042

iphydf opened this issue Feb 16, 2022 · 1 comment
Labels
P3 Low priority
Milestone

Comments

@iphydf
Copy link
Member

iphydf commented Feb 16, 2022

Currently, bootstrap does:

The only data we store about the bootstrap call is the ping array entry. If that one and only sendpacket call fails or the packet is dropped, we never try again.

Instead, we should store the fact that we just tried to bootstrap, add this bootstrap node as a friend, and ping it until it gets thrown out the k-buckets.

@iphydf iphydf added this to the v0.2.x milestone Feb 16, 2022
@iphydf iphydf added the P3 Low priority label Feb 17, 2022
@emdee-is
Copy link

emdee-is commented Feb 4, 2024

From: #2469 (comment)

PS: Dear Santa: A version of add_tcp_relay that loops through a set of tcp nodes and loops until dht_connected is true is very high on my wish list.

What I find I have to do in my testrunner for Tor testing is to integrate add_tcp_relay loops of a random subset the tcpnodes into the testrunner after a check of if we are connected, as the connection may drop. It's a big problem running over Tor that you would not see in clearnet testing,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Low priority
Projects
None yet
Development

No branches or pull requests

2 participants