benchlist

package
v1.22.61 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 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