bittorrent-tracker-editor icon indicating copy to clipboard operation
bittorrent-tracker-editor copied to clipboard

Edit/add dht root nodes in torrent files

Open kilves76 opened this issue 4 years ago • 2 comments

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.

kilves76 avatar Jun 28 '20 10:06 kilves76

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.

GerryFerdinandus avatar Jun 29 '20 00:06 GerryFerdinandus

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

kilves76 avatar Jun 30 '20 04:06 kilves76