Versions in this module Expand all Collapse all v0 v0.1.1 Sep 19, 2023 v0.1.0 Sep 18, 2023 Changes in this version + var ErrBlockNotFound = errors.New("block not found") + var ErrInvalidChangeID = errors.New("invalid change id") + type Manager struct + func NewManager(cs modules.ConsensusSet) (*Manager, error) + func (m *Manager) AcceptBlock(b types.Block) error + func (m *Manager) BlockAtHeight(height uint64) (types.Block, bool) + func (m *Manager) Close() error + func (m *Manager) IndexAtHeight(height uint64) (types.ChainIndex, error) + func (m *Manager) Network() string + func (m *Manager) ProcessConsensusChange(cc modules.ConsensusChange) + func (m *Manager) Subscribe(s modules.ConsensusSetSubscriber, ccID modules.ConsensusChangeID, ...) error + func (m *Manager) Synced() bool + func (m *Manager) TipState() consensus.State