Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StakingValidator ¶
type StakingValidator struct { Epoch uint64 ProposerPolicy tendermint.ProposerPolicy }
StakingValidator is implementation of ValidatorSetInfo
func NewStakingValidatorInfo ¶
func NewStakingValidatorInfo(epoch uint64, proposerPolicy tendermint.ProposerPolicy) *StakingValidator
NewStakingValidatorInfo returns new StakingValidator
func (*StakingValidator) GetValSet ¶
func (v *StakingValidator) GetValSet(chainReader consensus.ChainReader, number *big.Int) (tendermint.ValidatorSet, error)
GetValSet returns the validators available in the block if it already been created
Click to show internal directories.
Click to hide internal directories.