Help us shape the future of Go! Take the 2026 Go Developer Survey

benchlist

package
v1.30.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Benchable

type Benchable interface {
	Benched(chainID ids.ID, nodeID ids.NodeID)
	Unbenched(chainID ids.ID, nodeID ids.NodeID)
}

type Config

type Config struct {
	Deprecated bool
}

type Manager

type Manager interface {
	IsBenched(nodeID ids.NodeID, chainID ids.ID) bool
	GetBenched(chainID ids.ID) []ids.NodeID
	RegisterChain(chainID ids.ID, vdrs validators.Manager) error
	Benchable(chainID ids.ID, nodeID ids.NodeID) Benchable
}

func NewManager

func NewManager(log log.Logger, reg metrics.Registerer, config *Config) Manager

NewManager creates a new benchlist manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL