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

# Packages

# Functions

DisableObservedAddrManager disables the observed address manager.
DisableSignedPeerRecord disables populating signed peer records on the outgoing Identify response and ONLY sends the unsigned addresses.
HasConsistentTransport returns true if the address 'a' shares a protocol set with any address in the green set.
NewIDService constructs a new *idService and activates it by attaching its stream handler to the given host.Host.
NewObservedAddrManager returns a new address manager using peerstore.OwnObservedAddressTTL as the TTL.
ProtocolVersion sets the protocol version string that will be used to identify the family of protocols used by the peer.
UserAgent sets the user agent this node will identify itself with to peers.

# Constants

ID is the protocol.ID of version 1.0.0 of the identify service.
IDPush is the protocol.ID of the Identify push protocol.

# Variables

ActivationThresh sets how many times an address must be seen as "activated" and therefore advertised to other peers as an address that the local peer can be contacted on.
timeout on all incoming Identify interactions.

# Structs

ObservedAddrManager maps connection's local multiaddrs to their externally observable multiaddress.

# Interfaces

# Type aliases

Option is an option function for identify.