# Functions
Decode reads a discovery v4 packet.
DecodePubkey reads an encoded secp256k1 public key.
Encode encodes a discovery packet.
EncodePubkey encodes a secp256k1 public key.
Expired checks whether the given UNIX time stamp is in the past.
NewEndpoint creates an endpoint.
# Constants
RPC packet types.
RPC packet types.
RPC packet types.
MaxNeighbors is the maximum number of neighbor nodes in a Neighbors packet.
RPC packet types.
zero is 'reserved'.
RPC packet types.
# Structs
Endpoint represents a network endpoint.
RPC request structures.
RPC request structures.
RPC request structures.
RPC request structures.
Node represents information about a node.
RPC request structures.
RPC request structures.
# Type aliases
Pubkey represents an encoded 64-byte secp256k1 public key.