GerryFerdinandus / bittorrent-tracker-editor

Software for add or remove tracker from torrent files.
MIT License
499 stars 65 forks source link

Edit/add dht root nodes in torrent files #43

Open kilves76 opened 4 years ago

kilves76 commented 4 years ago

You could add editing/adding dht root nodes since the steps for this are pretty much identical to editing/adding trackers. This could lessen fragmentation between swarms as most clients have their own go-to dht root node, and it can be observed that initial peers received from dht vary wildly between clients with different dht root nodes. Of course this stabilises in the long run when dht and pex do their thing, but could be useful to have a good start to begin with.

One could just add this to a torrent file:

"nodes" : [ [ "dht.libtorrent.org", 6881 ], [ "dht.transmissionbt.com", 6881 ], [ "router.bitcomet.com", 6881 ], [ "dht.aelitis.com", 6881 ], [ "router.utorrent.com", 6881 ], [ "router.bittorrent.com", 6881 ] ]

Of course it depends on the client whether they use these entries or not, but it wouldn't hurt anyone. Like adding trackers, the hash won't change.

GerryFerdinandus commented 4 years ago

Thank you for your suggestion but I have no plan to implement it. I want to keep this program specialise only for adding/removing trackers files and nothing else.

kilves76 commented 4 years ago

No problem, just thought it'd been on the subject, since both trackers and dht are components of spreading the data.