package
1.13.14-0.1.0-rc.1
Repository: https://github.com/ava-labs/libevm.git
Documentation: pkg.go.dev
# Functions
DecodeMessage decodes the message body of a packet.
DecodePubkey decodes a public key in compressed format.
EncodePubkey encodes a public key.
IsInvalidHeader reports whether 'err' is related to an invalid packet header.
NewCodec creates a wire codec.
No description provided by the author
# Constants
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
any non-decryptable packet.
the WHOAREYOU packet.
# Variables
No description provided by the author
ErrInvalidReqID represents error when the ID is invalid.
# Structs
Codec encodes and decodes Discovery v5 packets.
Protocol messages.
Header represents a packet header.
Protocol messages.
Protocol messages.
Protocol messages.
The SessionCache keeps negotiated encryption keys and state for in-progress handshakes in the Discovery v5 wire protocol.
StaticHeader contains the static fields of a packet header.
Protocol messages.
Protocol messages.
Protocol messages.
Protocol messages.
# Interfaces
Packet is implemented by all message types.
# Type aliases
Nonce represents a nonce used for AES/GCM.