This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Track: enabling the DHT by default #3905
Closed
Description
Steps
- Support DHT client mode
- E.g. be able to make queries for content and peers
- Implement autonat
- To become a server (e.g. to store DHT records), we need ensure we are dialable. Autonat will give us confidence we are externally dialable
- Support DHT server mode
- Once we know we are dialable we can become a DHT server and store records
Each step depends on the previous but represents a stand-alone piece of functionality so will be useful when shipped.
DHT client mode
- Peer eviction strategy libp2p/js-libp2p-kad-dht#230
- Bootstrapping libp2p/js-libp2p-kad-dht#231
- Table refresh libp2p/js-libp2p-kad-dht#232
- Query logic overhaul libp2p/js-libp2p-kad-dht#233
- refactor: enable DHT by default #1994
- feat: dht client #3947
Autonat
DHT server mode
Testing
Testing will be done through interop and Testground. The interop test suite PR needs updating but will help establish an absolute baseline. More advanced testing will need to be done in Testground which will require the js-sdk being usable.
Wrap up
- Update the spec in libp2p with learnings