mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
This logic collects a list of known relays by testing every new connection. It exists so we can dial /p2p-circuit/p2p/QmFoobar addresses (circuit addresses that don't specify the relay). However, this kind of address is useless outside of basic demos as a random relay is practically guaranteed to not be connected to the target peer. Picking a random relay to connect to some peer is almost _never_ the desired behavior. |
||
|---|---|---|
| .. | ||
| addrs.go | ||
| discovery.go | ||
| host.go | ||
| hostopt.go | ||
| libp2p.go | ||
| nat.go | ||
| peerstore.go | ||
| pnet.go | ||
| pubsub.go | ||
| relay.go | ||
| routing.go | ||
| routingopt.go | ||
| smux.go | ||
| topicdiscovery.go | ||
| transport.go | ||