package
0.99.99-test-ignore
Repository: https://github.com/ava-labs/avalanchego.git
Documentation: pkg.go.dev
# Functions
Return a new connection counter If [resetDuration] is zero, returns a ConnMeter that always returns 0.
NewDefaultNetwork returns a new Network implementation with the provided parameters and some reasonable default values.
NewDialer returns a new Dialer that calls `net.Dial` with the provided network.
NewIPUpgrader ...
NewNetwork returns a new Network implementation with the provided parameters.
NewTLSClientUpgrader ...
NewTLSServerUpgrader ...
# Constants
Public commands that may be sent between stakers.
Public commands that may be sent between stakers.
Used for dispatching.
Public commands that may be sent between stakers.
Used for gossiping.
Used for querying.
Used for querying.
Used for request messages.
reasonable default values.
Consensus:.
Public commands that may be sent between stakers.
Bootstrapping:.
Public commands that may be sent between stakers.
Public commands that may be sent between stakers.
Handshake:.
Used in handshake.
Used in MultiPut.
Public commands that may be sent between stakers.
Used in handshake.
Used in handshake.
Used in handshake.
Public commands that may be sent between stakers.
Used in handshake.
Public commands that may be sent between stakers.
Public commands that may be sent between stakers.
Public commands that may be sent between stakers.
Public commands that may be sent between stakers.
Public commands that may be sent between stakers.
Used for all messages.
Public commands that may be sent between stakers.
Used in handshake.
# Variables
Defines the messages that can be sent/received with this network.
# Structs
Builder extends a Codec to build messages safely.
Codec defines the serialization and deserialization of network messages.
HealthConfig describes parameters for network layer health checks.
holds onto the peer object as a result of helper functions.
PeerID ...
# Interfaces
ConnMeter keeps track of how many times a peer from a given address have attempted to connect to us in a given time period.
Dialer attempts to create a connection with the provided IP/port pair.
Msg represents a set of fields that can be serialized into a byte stream.
Network defines the functionality of the networking library.
Upgrader ...