Versions in this module Expand all Collapse all v1 v1.11.11 Aug 6, 2024 Changes in this version + type Manager interface + OnAcceptedBlockID func(blkID ids.ID) + var TestManager Manager = testManager{} + func NewManager(log logging.Logger, cfg config.Config, state State, metrics metrics.Metrics, ...) Manager + type State interface + ApplyValidatorPublicKeyDiffs func(ctx context.Context, validators map[ids.NodeID]*validators.GetValidatorOutput, ...) error + ApplyValidatorWeightDiffs func(ctx context.Context, validators map[ids.NodeID]*validators.GetValidatorOutput, ...) error + GetLastAccepted func() ids.ID + GetStatelessBlock func(blockID ids.ID) (block.Block, error) + GetTx func(txID ids.ID) (*txs.Tx, status.Status, error)