package
0.41.0
Repository: https://github.com/libp2p/go-libp2p.git
Documentation: pkg.go.dev

# Functions

AddrInfos returns an AddrInfo for each specified peer ID, in-order.
GetCertifiedAddrBook is a helper to "upcast" an AddrBook to a CertifiedAddrBook by using type assertion.

# Constants

ConnectedAddrTTL is the ttl used for the addresses of a peer to whom we're connected directly.
PermanentAddrTTL is the ttl for a "permanent address" (e.g.

# Variables

AddressTTL is the expiration time of addresses.
OwnObservedAddrTTL is used for our own external addresses observed by peers.
RecentlyConnectedAddrTTL is used when we recently connected to a peer.
TempAddrTTL is the ttl used for a short-lived address.

# Interfaces

AddrBook holds the multiaddrs of peers.
CertifiedAddrBook manages signed peer records and "self-certified" addresses contained within them.
KeyBook tracks the keys of Peers.
Metrics tracks metrics across a set of peers.
PeerMetadata can handle values of any type.
Peerstore provides a thread-safe store of Peer related information.
ProtoBook tracks the protocols supported by peers.