Closed alexeyvolkoff closed 7 months ago
I think this could use a more helpful error message, but as of v12.x.x you need to configure the KadDHT
module to tell it about your DHT configuration.
For example, how to connect to the public Amino/IPFS DHT, or how to connect to a local, LAN-only DHT.
Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.
This issue was closed because it is missing author input.
dht: kadDHT({ kBucketSize: 20, }),
should fix issue
Version:
Platform: node 20.11.0 ubuntu 22.04
Subsystem: kad-dht
Description:
Adding dht to libp2p configuration causes crash:
Steps to reproduce the error:
Just define dht: kadDHT() in services{}