15 ms·
No, most BitTorrent clients support a Kad based DHT for discovering peers.
by r3trohack3r 3y ago
No, most BitTorrent clients support a Kad based DHT for discovering peers.
- isoprophlex 3y agoO wow, TIL... thanks!
- tredre3 3y agoPure DHT peer-discovery alone isn't that great but keep in mind that the magnet points to a .torrent file, which usually does contain a list of traditional trackers for the file.
- r3trohack3r 3y agoWhy isn’t it great? You’re the first person I’ve met that has made this assertion.
- npteljes 3y agoDiscovery via DHT is much slower than a tracker.
- npteljes 3y agoThe magnet doesn't point to a torrent file, but it can contain links to trackers (and other metadata as well).
- somat 3y agofun, trivial trick, the magnet link is not necessary. all you need is the infohash. it is however very slow without the tracker hints. echo "magnet:?xt=urn:btih:${info_hash}" ipfs basically feels like "this is it guys, our entire access pattern is going to be this"
- phire 3y agoActually, a minimal magnet link only contains the infohash which "points" at just the info section of the torrent file. The info section contains the name, list of files and SHA1 hashes for all pieces, and the private flag. The trackers are outside of info section, I assume so the list of trackers can be modified without effecting the info hash. Though, some magnet links include an optional xs parameter which points at an http url containing the .torrent file, which would include the trackers. In my experience, you don't receive the trackers from other peers (though maybe other bittorrent clients can?). However, if at least one peer you discover via DHT supports the peer exchange protocol, and has the trackers, your client can quickly query all the relevant peers.