Versions in this module Expand all Collapse all v1 v1.1.66 Jun 17, 2021 v1.1.65 Jun 17, 2021 Changes in this version + func NewValidatorStatisticsProcessor(arguments ArgValidatorStatisticsProcessor) (*validatorStatistics, error) + func NewValidatorsProvider(args ArgValidatorsProvider) (*validatorsProvider, error) + type ArgPeerTypeProvider struct + EpochStartEventNotifier process.EpochStartEventNotifier + NodesCoordinator process.NodesCoordinator + StartEpoch uint32 + type ArgValidatorStatisticsProcessor struct + BelowSignedThresholdEnableEpoch uint32 + DataPool DataPool + EpochNotifier process.EpochNotifier + GenesisNonce uint64 + Marshalizer marshal.Marshalizer + MaxComputableRounds uint64 + NodesCoordinator sharding.NodesCoordinator + NodesSetup sharding.GenesisNodesSetupHandler + PeerAdapter state.AccountsAdapter + PubkeyConv core.PubkeyConverter + Rater sharding.PeerAccountListAndRatingHandler + RatingEnableEpoch uint32 + RewardsHandler process.RewardsHandler + ShardCoordinator sharding.Coordinator + StakingV2EnableEpoch uint32 + StorageService dataRetriever.StorageService + SwitchJailWaitingEnableEpoch uint32 + type ArgValidatorsProvider struct + CacheRefreshIntervalDurationInSec time.Duration + EpochStartEventNotifier process.EpochStartEventNotifier + MaxRating uint32 + NodesCoordinator process.NodesCoordinator + PubKeyConverter core.PubkeyConverter + StartEpoch uint32 + ValidatorStatistics process.ValidatorStatisticsProcessor + type DataPool interface + Headers func() dataRetriever.HeadersPool + IsInterfaceNil func() bool + type ListIndexUpdater struct + func (liu *ListIndexUpdater) IsInterfaceNil() bool + func (liu *ListIndexUpdater) UpdateListAndIndex(pubKey string, shardID uint32, list string, index uint32) error + type PeerTypeProvider struct + func NewPeerTypeProvider(arg ArgPeerTypeProvider) (*PeerTypeProvider, error) + func (ptp *PeerTypeProvider) ComputeForPubKey(pubKey []byte) (core.PeerType, uint32, error) + func (ptp *PeerTypeProvider) GetAllPeerTypeInfos() []*state.PeerTypeInfo + func (ptp *PeerTypeProvider) IsInterfaceNil() bool + type RatingReader struct + func (bsr *RatingReader) GetRating(pk string) uint32 + func (bsr *RatingReader) IsInterfaceNil() bool