package
1.12.3-warp-verify6
Repository: https://github.com/ava-labs/avalanchego.git
Documentation: pkg.go.dev
# Functions
NewBenchlist returns a new Benchlist.
NewManager returns a manager for chain-specific query benchlisting.
NewNoBenchlist returns an empty benchlist that will never stop any queries.
# Interfaces
Benchable is notified when a validator is benched or unbenched from a given chain.
Therefore, nodes that consistently fail are "benched" such that queries to that node fail immediately to avoid waiting up to the full network timeout for a response.
Manager provides an interface for a benchlist to register whether queries have been successful or unsuccessful and place validators with consistently failing queries on a benchlist to prevent waiting up to the full network timeout for their responses.