Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upPeer coming from DHT for specific torrent? #256
Closed
Comments
feross
added a commit
to webtorrent/torrent-discovery
that referenced
this issue
Feb 2, 2015
This comment has been minimized.
This comment has been minimized.
|
You are correct. This was a bug! I just patched Thanks for reporting! |
This comment has been minimized.
This comment has been minimized.
|
And a matching test case: webtorrent/torrent-discovery@18bfda3 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How do you know if the torrent that is coming from DHT is for the right torrent?
dht emits peers for any infoHash but torrent.js is not looking if the peer is for this torrent.
https://github.com/feross/webtorrent/blob/master/lib/torrent.js#L190