mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 11:27:42 +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. |
||
|---|---|---|
| .. | ||
| bootstrap | ||
| commands | ||
| coreapi | ||
| coredag | ||
| corehttp | ||
| corerepo | ||
| coreunix | ||
| mock | ||
| node | ||
| .gitignore | ||
| builder.go | ||
| core_test.go | ||
| core.go | ||