Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find best node for given torrent infohash #4

Open
sjaensch opened this issue Aug 29, 2020 · 0 comments
Open

Find best node for given torrent infohash #4

sjaensch opened this issue Aug 29, 2020 · 0 comments

Comments

@sjaensch
Copy link
Owner

When looking for peers for a given infohash we need to walk the DHT and find the closest node (the node which ID most closely matches the torrent infohash). We need to do this by repeatedly calling find_node on the closest nodes in our routing table, and adding the results to our table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant