package
0.0.0-20250119000602-809120120630
Repository: https://github.com/n42blockchain/n42.git
Documentation: pkg.go.dev
# Functions
NewStatus creates a new status entity.
# Constants
ColocationLimit restricts how many peer identities we can see from a single ip or ipv6 subnet.
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.
PeerConnected means the peer has an active connection.
PeerConnecting means there is an on-going attempt to connect to the peer.
PeerDisconnected means there is no connection to the peer.
PeerDisconnecting means there is an on-going attempt to disconnect from the peer.
# Structs
Status is the structure holding the peer status information.
StatusConfig represents peer status service params.