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

Bootsrapper Nodes #315

Closed
agahEbrahimi opened this issue Apr 15, 2018 · 5 comments
Closed

Bootsrapper Nodes #315

agahEbrahimi opened this issue Apr 15, 2018 · 5 comments

Comments

@agahEbrahimi
Copy link

Hi,

Do all bootstrapping nodes hold a DHT for the multiaddress of all other nodes?

Thank you

@Stebalien
Copy link
Member

Sorry, could you expand on that question a bit?

@agahEbrahimi
Copy link
Author

Do all of the nodes that are bootrstrapper nodes hold the kad-dht table which holds the multiadress of all other nodes that have previously connected to the network?

@Stebalien
Copy link
Member

@agahEbrahimi ah. No, they don't. They hold some but not all. The trick is, you connect to a bootstrapper node, learn a few new addresses, connect to those, learn some more, etc. We do this by searching for a non-existent peer in the DHT. While we'll never find the peer we're looking for, we will end up connecting to a bunch of random nodes participating in the DHT.

@agahEbrahimi
Copy link
Author

And after finding all those addresses you can use Nat Traversal, and content routing in order to find a specific file and who holds that file?

@Stebalien
Copy link
Member

And after finding all those addresses you can use Nat Traversal, and content routing in order to find a specific file and who holds that file?

Some NAT traversal methods, yes (NAT traversal is a category).

marten-seemann pushed a commit that referenced this issue Apr 21, 2022
Refactor dial worker loop into an object and fix bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants