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
Click to show internal directories.
Click to hide internal directories.