package
1.2.8
Repository: https://github.com/iotaledger/hornet.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New creates a new tip-selector.
TipCaller is used to signal tip events.
WalkerStatsCaller is used to signal tip selection events.

# Constants

ScoreLazy is a lazy tip and should not be selected.
ScoreNonLazy is a non-lazy tip.
ScoreSemiLazy is a somewhat lazy tip.

# Variables

ErrNoTipsAvailable is returned when no tips are available in the node.
ErrTipLazy is returned when the chosen tip was lazy already.

# Structs

Events represents events happening on the tip-selector.
Tip defines a tip.
TipSelector manages a list of tips and emits events for their removal and addition.
TipSelStats holds the stats for a tipselection run.

# Type aliases

Score defines the score of a tip.
TipSelectionFunc is a function which performs a tipselection and returns tips.