We need to implement a DHT type in boxo that configures KadDHT in go-libp2p-kad-dht wiith IPFS-specific parameters. We propose this lives in a new package: routing/dht. This new type will have minimal configuration options and sensible defaults and is designed to be simple to use for applications (such as Kubo) that operate using the standard public IPFS DHT network. Clients with different requirements should use KadDHT directly.
ETA: 2023-08-31
go-kademila is a new modular Kademlia implementation designed to have predictable performance and resource utilization. We plan to refactor DHT responsibilities and behaviour between go-kademila, go-libp2p-kad-dht and boxo along the lines discussed in https://github.com/libp2p/go-libp2p-kad-dht/issues/855
Motivations for refactoring the underlyiing DHT implementation are in https://github.com/protocol/probelab/issues/32
We need to implement a DHT type in boxo that configures KadDHT in go-libp2p-kad-dht wiith IPFS-specific parameters. We propose this lives in a new package:
routing/dht
. This new type will have minimal configuration options and sensible defaults and is designed to be simple to use for applications (such as Kubo) that operate using the standard public IPFS DHT network. Clients with different requirements should use KadDHT directly.