Versions in this module Expand all Collapse all v1 v1.0.1 Apr 21, 2023 Changes in this version + const DefaultValidatorSetCacheSize + var ErrInvalidValidatorsTypeAssertion = errors.New("invalid type assertion for Validators") + var ErrSignerNotFound = errors.New("signer not found") + func FetchBLSValidators(transition *state.Transition, from types.Address) (validators.Validators, error) + func FetchECDSAValidators(transition *state.Transition, from types.Address) (validators.Validators, error) + func FetchValidators(validatorType validators.ValidatorType, transition *state.Transition, ...) (validators.Validators, error) + type ContractValidatorStore struct + func NewContractValidatorStore(logger hclog.Logger, blockchain store.HeaderGetter, executor Executor, ...) (*ContractValidatorStore, error) + func (s *ContractValidatorStore) GetValidatorsByHeight(validatorType validators.ValidatorType, height uint64) (validators.Validators, error) + func (s *ContractValidatorStore) SourceType() store.SourceType + type Executor interface + BeginTxn func(types.Hash, *types.Header, types.Address) (*state.Transition, error)