tracker

package
v1.7.11-rc.27 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: BSD-3-Clause Imports: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WeightTracker

type WeightTracker interface {
	AddWeightForNode(nodeID ids.NodeID) error
	RemoveWeightForNode(nodeID ids.NodeID) error
	EnoughConnectedWeight() bool
}

func NewWeightTracker

func NewWeightTracker(beacons validators.Set, startupAlpha uint64) WeightTracker

Jump to

Keyboard shortcuts

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