jinroh / kadoh

The Kademlia DHT in Javascript for Node.js and Browsers
http://jinroh.github.com/kadoh
Other
242 stars 31 forks source link

Wish List.. #38

Open alexstrat opened 12 years ago

alexstrat commented 12 years ago
jinroh commented 12 years ago

I have started the implementation of a BitTorrent mainline client. It shall not be to difficult, except that for the get_peers RPC, which the equivalent of our FIND_VALUE.

The way mainline clients work is to perform an iterative process and to accumulate values at each iteration (which are peers ip:port). Whereas in our implementation we stop our iterative lookup as soon as a peer has responded a value.. We may have to write an other iterative process for the mainline client...or we should improve the customization of the IterativeFind object, but I don't really know how ?