libp2p / go-libp2p-examples

Example libp2p applications
MIT License
339 stars 145 forks source link

Update host.go #149

Closed iNDicat0r closed 3 years ago

iNDicat0r commented 4 years ago

Recent changes break the DHT peer discovery when testing on local and private nets. https://github.com/libp2p/go-libp2p-kad-dht/issues/569

aarshkshah1992 commented 3 years ago

@iNDicat0r

The DHT will move to server mode if it discovers it has public reachability. We've updated the DHT deps in https://github.com/libp2p/go-libp2p-examples/pull/195.

We'll add an example of how to use the DHT in dual mode as part of https://github.com/libp2p/go-libp2p-examples/issues/156.