Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 v0.0.1 Oct 30, 2023 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 + DataPool DataPool + 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 + StorageService dataRetriever.StorageService + 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