Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidatorStatisticsProcessor ¶
func NewValidatorStatisticsProcessor(arguments ArgValidatorStatisticsProcessor) (*validatorStatistics, error)
NewValidatorStatisticsProcessor instantiates a new validatorStatistics structure responsible of keeping account of
each validator actions in the consensus process
Types ¶
type ArgValidatorStatisticsProcessor ¶
type ArgValidatorStatisticsProcessor struct { InitialNodes []*sharding.InitialNode Economics *economics.EconomicsData Marshalizer marshal.Marshalizer NodesCoordinator sharding.NodesCoordinator ShardCoordinator sharding.Coordinator DataPool DataPool StorageService dataRetriever.StorageService AdrConv state.AddressConverter PeerAdapter state.AccountsAdapter }
ArgValidatorStatisticsProcessor holds all dependencies for the validatorStatistics
Click to show internal directories.
Click to hide internal directories.