package
1.2.0
Repository: https://github.com/chappjc/dcrd.git
Documentation: pkg.go.dev

# Functions

DisableLog disables all library log output.
GroupKey returns a string representing the network group an address is part of.
IsRoutable returns whether or not the passed address is routable over the public internet.
NetAddressKey returns a string key in the form of ip:port for IPv4 addresses or [ip]:port for IPv6 addresses.
New returns a new Decred address manager.
UseLogger uses a specified Logger to output package logging info.

# Constants

BoundPrio signifies the address has been explicitly bounded to.
HTTPPrio signifies the address was obtained from an external HTTP service.
InterfacePrio signifies the address is on a local interface.
ManualPrio signifies the address was provided by --externalip.
PeersFilename is the default filename to store serialized peers.
UpnpPrio signifies the address was obtained from UPnP.

# Structs

AddrManager provides a concurrency safe address manager for caching potential peers on the Decred network.
KnownAddress tracks information about a known network address that is used to determine how viable an address is.

# Type aliases

AddressPriority type is used to describe the hierarchy of local address discovery methods.