package
5.2.0
Repository: https://github.com/prysmaticlabs/prysm.git
Documentation: pkg.go.dev

# Packages

# Functions

NewAssigner assists in the correct construction of an Assigner by code in other packages, assuring all the important private member fields are given values.
NewStatus creates a new status entity.

# Constants

CollocationLimit restricts how many peer identities we can see from a single ip or ipv6 subnet.
Connected means the peer has an active connection.
Connecting means there is an on-going attempt to connect to the peer.
Disconnected means there is no connection to the peer.
Disconnecting means there is an on-going attempt to disconnect from the peer.
InboundRatio is the proportion of our connected peer limit at which we will allow inbound peers.
MaxBackOffDuration maximum amount (in milliseconds) to wait before peer is re-dialed.
MinBackOffDuration minimum amount (in milliseconds) to wait before peer is re-dialed.

# Variables

ErrInsufficientSuitable is a sentinel error, signaling that a peer couldn't be assigned because there are currently not enough peers that match our selection criteria to serve rpc requests.

# Structs

Assigner uses the "BestFinalized" peer scoring method to pick the next-best peer to receive rpc requests.
Status is the structure holding the peer status information.
StatusConfig represents peer status service params.

# Interfaces

FinalizedCheckpointer describes the minimum capability that Assigner needs from forkchoice.

# Type aliases