-
Notifications
You must be signed in to change notification settings - Fork 15
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
Question #3
Comments
You need to find at least one node in a different way - for torrents this usually involves a traditional tracker. You ask it for other peers for a torrent, and then check whether those peers have dht support (afaik). |
Hm. I'm actually working with something other than BitTorrent, so I'm trying to figure out how to stuff enough code in via the API to let a network form. |
You still can use BitTorrent trackers if you want, just pick a random 160-bit string (sha1sum of some identifier for your project for example), and make your peers announce it on some trackers to find each other. |
Hrm. I'll have to delve deeper -- I'm hoping to set up one or some of my nodes with enough pre-configured information to form a swarm without external resources. |
How might you bootstrap a network that starts with no nodes?
The text was updated successfully, but these errors were encountered: