Expand description
Peer gossip and explicit dialing. Gossiped addresses are untrusted routing hints; a dial proves only the remote transport identity, and the Peers probe that follows it only that the peer speaks this protocol on the same chain.
Structs§
- Observed
Addrs - Public addresses outbound peers reported observing for this node. A candidate is confirmed only once WITNESSES distinct peers reported it.
Functions§
- is_
public - Globally routable IP, or a DNS name other than localhost. IPv4-mapped IPv6 addresses are judged as the IPv4 address they carry.
- validate_
dial - Dial targets: any direct address shape, or a circuit that names its target. Returns the named identity.
- validate_
gossip_ address - Gossip carries only IP-literal addresses, direct or circuit, each with an
optional
/p2p: names come from operators (seeds, manual), never peers.