Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingValidator = errors.New("missing validator") ErrMissingValidatorSet = errors.New("missing validator set") )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { validators.State // OnAcceptedBlockID registers the ID of the latest accepted block. // It is used to update the [recentlyAccepted] sliding window. OnAcceptedBlockID(blkID ids.ID) }
Manager adds the ability to introduce newly acceted blocks IDs to the State interface.
var TestManager Manager = testManager{}
Click to show internal directories.
Click to hide internal directories.