Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IDLength = 16
IDLength is here as a variable so that it can be decreased for tests with mocknet where IDs are way shorter. The call to FmtPeerID would panic if this value stayed at 16.
Functions ¶
func AddrsToMaddrs ¶
AddrsToMaddrs maps a slice of addresses to their multiaddress representation.
func FilterPrivateMaddrs ¶
FilterPrivateMaddrs strips private multiaddrs from the given peer address information.
func IsResourceLimitExceeded ¶
func MaddrsToAddrs ¶
MaddrsToAddrs maps a slice of multi addresses to their string representation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.