cjb / GitTorrent

A decentralization of GitHub using BitTorrent and Bitcoin
MIT License
4.75k stars 262 forks source link

How to avoid being subsumed into the mainline DHT? #2

Open cjb opened 9 years ago

cjb commented 9 years ago

If a mainline DHT node talks to us, we'll join that network.

feross commented 9 years ago

Here's an idea: You could reject connections to nodes that don't use a certain prefix in their ID. You can control the node id in bittorrent-dht with the nodeId property.