▲ | immibis 2 days ago | ||||||||||||||||
If there are millions of bootstrap nodes, how do you find them? | |||||||||||||||||
▲ | toast0 2 days ago | parent | next [-] | ||||||||||||||||
If they listen on a well known port, and there are millions, send out a few thousand probes to 'random' IPv4 addresses and you'll most likely find one. If you get and keep a list of bootstrap nodes when you find one, then you can random select from the bootstrap addresses rather than all routable IPv4 addresses. | |||||||||||||||||
| |||||||||||||||||
▲ | LtdJorge 2 days ago | parent | prev [-] | ||||||||||||||||
You can embed them in the torrent, same as the tracker. But the tracker has to handle all the state, while a bootstrap node just hooks you up with a few (or one) node in the DHT network. After that, it's fully decentralized. There could other ways, embedding them on SRV DNS records, etc. It's the same issue as with getting a DNS server. You could in theory get addresses of bootstrap nodes from your ISP through DHCP (lol, sure). |