package
1.12.3-warp-verify6
Repository: https://github.com/ava-labs/avalanchego.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
Returns an InboundConnUpgradeThrottler that upgrades an inbound connection from a given IP at most every [UpgradeCooldown].
Returns a new, sybil-safe inbound message throttler.
No description provided by the author
Returns an InboundMsgThrottler where Acquire() always returns immediately.
No description provided by the author
No description provided by the author
No description provided by the author
Wraps [listener] and returns a net.Listener that will accept at most [maxConnsPerSec] connections per second.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Used by the sybil-safe inbound and outbound message throttlers.
No description provided by the author
# Interfaces
No description provided by the author
InboundConnUpgradeThrottler returns whether we should upgrade an inbound connection from IP [ipStr].
InboundMsgThrottler rate-limits inbound messages from the network.
Rate-limits outgoing messages.
SystemThrottler rate-limits based on the system metrics usage caused by each peer.
# Type aliases
No description provided by the author