mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 228 forks source link

peer-discovery: opts is not passed to DHT #74

Open Ayms opened 10 years ago

Ayms commented 10 years ago

Probably the fix is simply in createDHT: var table = dht(opts);

Ayms commented 10 years ago

Precision: it does not hurt as it is but passing opts to the dht can be useful (debug:true or other)

mafintosh commented 10 years ago

I'm cool with a fix for this. Want to send a PR? :)

Ayms commented 10 years ago

I am not against PRs for torrent-stream (notwithstanding my natural habit to mess up with PRs not for myself) but given the magnitude of this astronomical change, maybe you could just fix it.

Corollary of this, and your implementation of blocklists, please see the 'Findspies' feature in torrent-live