# Functions
NewPeer constructs a new peer this constructor is called by the p2p.Protocol#Run function the first two arguments are the arguments passed to p2p.Protocol.Run function the third argument is the Spec describing the protocol.
# Constants
error codes used by this protocol scheme.
error codes used by this protocol scheme.
error codes used by this protocol scheme.
error codes used by this protocol scheme.
error codes used by this protocol scheme.
error codes used by this protocol scheme.
error codes used by this protocol scheme.
error codes used by this protocol scheme.
# Structs
Error implements the standard go error interface.
Peer represents a remote peer or protocol instance that is running on a peer connection with a remote peer.
Spec is a protocol specification including its name and version as well as the types of messages which are exchanged.
WrappedMsg is used to propagate marshalled context alongside message payloads.