dht
dht copied to clipboard
Kademlia/Mainline DHT node in Go.
Summary of the changes so far: - I can use libtorrent's code to query DHT nodes and get/put items. - I haven't written test cases or cleaned up the code....
Of possible interest. http://people.kth.se/~rauljc/p2p11/jimenez2011subsecond.pdf Optimization for mainline compatible DHT that significantly improves performance and efficiency.
see: http://engineering.bittorrent.com/2013/12/19/dht-bootstrap-update/ http://libtorrent.org/dht_sec.html I expect some useful reference code to be available here: https://github.com/bittorrent/bootstrap-dht
Annoyingly many peers will claim they are peers for any requested infohash. Some way to black list them would be useful. Two potential strategies: 1) pick a random infohash, statistically...
This DHT/BEP-0005 is a great way to find peers for any p2p program, not just torrent clients. Of course if you aren't a bit-torrent client you likely want to find...
`dht/store.go` still refers to [Taipei-Torrent](https://github.com/jackpal/Taipei-Torrent) in the filenames, I believe they should be changed to something more `dht`-related