package
1.9.15-temp-stability-tests
Repository: https://github.com/kaspanet/kaspad.git
Documentation: pkg.go.dev
# Functions
Errorf formats according to a format specifier and returns the string as a ProtocolError.
New returns a ProtocolError with the supplied message.
Wrap wraps the given error and returns it as a ProtocolError.
Wrapf wraps the given error with the given format and returns it as a ProtocolError.
# Structs
ProtocolError is an error that signifies a violation of the peer-to-peer protocol.