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

Initialize DHT with nodes from torrent file #5

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

Initialize DHT with nodes from torrent file #5

sjaensch opened this issue Aug 29, 2020 · 0 comments

Comments

@sjaensch
Copy link
Owner

A trackerless torrent does not have an announce key, instead it has a nodes key. Let's use it to initialize our DHT. From the BEP:

nodes = [["<host>", <port>], ["<host>", <port>], ...]
nodes = [["127.0.0.1", 6881], ["your.router.node", 4804], ["2001:db8:100:0:d5c8:db3f:995e:c0f7", 1941]]
@sjaensch sjaensch added this to the Support for DHT milestone Aug 29, 2020
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