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

Libp2p DHT #597

Open
7 tasks
Stebalien opened this issue Apr 21, 2020 · 2 comments
Open
7 tasks

Libp2p DHT #597

Stebalien opened this issue Apr 21, 2020 · 2 comments
Labels
Epic kind/enhancement A net-new feature or improvement to an existing feature

Comments

@Stebalien
Copy link
Member

Stebalien commented Apr 21, 2020

Currently, the DHT in this package is the "IPFS" DHT.

  1. It's called IpfsDHT.
  2. It's protocol starts with /ipfs.
  3. It requires the IPFS DHT validators.
  4. It defaults to a special "auto" mode where nodes won't join the DHT until they're publicly reachable.

These are all requirements for the IPFS DHT, but not requirements for DHTs in general. Worse, the IPFS DHT is actually a dual DHT at this point because dht.New will return a semi-broken DHT that will refuse to work on private/localhost networks.

For motivation, see: #569, #564, #561.

We should:

This way, users trying to build libp2p apps can explicitly choose which DHT they want to join and how they want to configure their network.

@Stebalien Stebalien added kind/enhancement A net-new feature or improvement to an existing feature Epic labels Apr 21, 2020
@Stebalien
Copy link
Member Author

cc @raulk.

@willscott
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants