Versions in this module Expand all Collapse all v1 v1.3.1 Nov 2, 2024 v1.3.0 Sep 19, 2024 Changes in this version + type BlockStore interface + Base func() int64 + LoadBlockMeta func(height int64) *types.BlockMeta + type ProposerSelector interface + Copy func() ProposerSelector + GetProposer func(height int64, round int32) (*types.Validator, error) + MustGetProposer func(height int64, round int32) *types.Validator + UpdateHeightRound func(height int64, round int32) error + ValidatorSet func() *types.ValidatorSet + func NewHeightProposerSelector(vset *types.ValidatorSet, currentHeight int64, bs BlockStore, ...) (ProposerSelector, error) + func NewHeightRoundProposerSelector(vset *types.ValidatorSet, currentHeight int64, currentRound int32, ...) (ProposerSelector, error) + func NewProposerSelector(cp types.ConsensusParams, valSet *types.ValidatorSet, valsetHeight int64, ...) (ProposerSelector, error)