Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2024 Changes in this version + func GetAllNodeKeys(validatorsInfo state.ShardValidatorsInfoMapHandler) map[uint32][][]byte + func NewAuctionListDisplayer(args ArgsAuctionListDisplayer) (*auctionListDisplayer, error) + func NewAuctionListSelector(args AuctionListSelectorArgs) (*auctionListSelector, error) + func NewBaseRewardsCreator(args BaseRewardsCreatorArgs) (*baseRewardsCreator, error) + func NewEndOfEpochEconomicsDataCreator(args ArgsNewEpochEconomics) (*economics, error) + func NewEpochEconomicsStatistics() *epochEconomicsStatistics + func NewEpochStartData(args ArgsNewEpochStartData) (*epochStartData, error) + func NewEpochStartTrigger(args *ArgsNewMetaEpochStartTrigger) (*trigger, error) + func NewRewardsCreator(args ArgsNewRewardsCreator) (*rewardsCreator, error) + func NewRewardsCreatorProxy(args RewardsCreatorProxyArgs) (*rewardsCreatorProxy, error) + func NewRewardsCreatorV2(args RewardsCreatorArgsV2) (*rewardsCreatorV2, error) + func NewStakingDataProvider(args StakingDataProviderArgs) (*stakingDataProvider, error) + func NewSystemSCProcessor(args ArgsNewEpochStartSystemSCProcessing) (*systemSCProcessor, error) + func NewTableDisplayer() *tableDisplayer + func NewValidatorInfoCreator(args ArgsNewValidatorInfoCreator) (*validatorInfoCreator, error) + func UnmarshalTrigger(marshaller marshal.Marshalizer, data []byte) (*block.MetaTriggerRegistry, error) + type ArgsAuctionListDisplayer struct + AddressPubKeyConverter core.PubkeyConverter + AuctionConfig config.SoftAuctionConfig + Denomination int + TableDisplayHandler TableDisplayHandler + ValidatorPubKeyConverter core.PubkeyConverter + type ArgsNewEpochEconomics struct + EconomicsDataNotified epochStart.EpochEconomicsDataProvider + GenesisEpoch uint32 + GenesisNonce uint64 + GenesisTotalSupply *big.Int + Hasher hashing.Hasher + Marshalizer marshal.Marshalizer + RewardsHandler process.RewardsHandler + RoundTime process.RoundTimeDurationHandler + ShardCoordinator sharding.Coordinator + StakingV2EnableEpoch uint32 + Store dataRetriever.StorageService + type ArgsNewEpochStartData struct + BlockTracker process.BlockTracker + DataPool dataRetriever.PoolsHolder + EnableEpochsHandler common.EnableEpochsHandler + EpochStartTrigger process.EpochStartTriggerHandler + GenesisEpoch uint32 + Hasher hashing.Hasher + Marshalizer marshal.Marshalizer + RequestHandler epochStart.RequestHandler + ShardCoordinator sharding.Coordinator + Store dataRetriever.StorageService + type ArgsNewEpochStartSystemSCProcessing struct + AuctionListSelector epochStart.AuctionListSelector + ChanceComputer nodesCoordinator.ChanceComputer + DCDTOwnerAddressBytes []byte + EnableEpochsHandler common.EnableEpochsHandler + EndOfEpochCallerAddress []byte + EpochNotifier process.EpochNotifier + GenesisNodesConfig sharding.GenesisNodesSetupHandler + Marshalizer marshal.Marshalizer + MaxNodesChangeConfigProvider epochStart.MaxNodesChangeConfigProvider + NodesConfigProvider epochStart.NodesConfigProvider + PeerAccountsDB state.AccountsAdapter + ShardCoordinator sharding.Coordinator + StakingDataProvider epochStart.StakingDataProvider + StakingSCAddress []byte + StartRating uint32 + SystemVM vmcommon.VMExecutionHandler + UserAccountsDB state.AccountsAdapter + ValidatorInfoCreator epochStart.ValidatorInfoCreator + type ArgsNewMetaEpochStartTrigger struct + AppStatusHandler core.AppStatusHandler + DataPool dataRetriever.PoolsHolder + Epoch uint32 + EpochStartNotifier epochStart.Notifier + EpochStartRound uint64 + GenesisTime time.Time + Hasher hashing.Hasher + Marshalizer marshal.Marshalizer + Settings *config.EpochStartConfig + Storage dataRetriever.StorageService + type ArgsNewRewardsCreator struct + type ArgsNewValidatorInfoCreator struct + DataPool dataRetriever.PoolsHolder + EnableEpochsHandler common.EnableEpochsHandler + Hasher hashing.Hasher + Marshalizer marshal.Marshalizer + MiniBlockStorage storage.Storer + ShardCoordinator sharding.Coordinator + ValidatorInfoStorage storage.Storer + type AuctionListDisplayHandler interface + DisplayAuctionList func(auctionList []state.ValidatorInfoHandler, ...) + DisplayOwnersData func(ownersData map[string]*OwnerAuctionData) + DisplayOwnersSelectedNodes func(ownersData map[string]*OwnerAuctionData) + IsInterfaceNil func() bool + type AuctionListSelectorArgs struct + AuctionListDisplayHandler AuctionListDisplayHandler + Denomination int + MaxNodesChangeConfigProvider epochStart.MaxNodesChangeConfigProvider + ShardCoordinator sharding.Coordinator + SoftAuctionConfig config.SoftAuctionConfig + StakingDataProvider epochStart.StakingDataProvider + type BaseRewardsCreatorArgs struct + DataPool dataRetriever.PoolsHolder + EnableEpochsHandler common.EnableEpochsHandler + ExecutionOrderHandler common.TxExecutionOrderHandler + Hasher hashing.Hasher + Marshalizer marshal.Marshalizer + MiniBlockStorage storage.Storer + NodesConfigProvider epochStart.NodesConfigProvider + ProtocolSustainabilityAddress string + PubkeyConverter core.PubkeyConverter + RewardsStorage storage.Storer + ShardCoordinator sharding.Coordinator + UserAccountsDB state.AccountsAdapter + type OwnerAuctionData struct + type RewardsCreatorArgsV2 struct + EconomicsDataProvider epochStart.EpochEconomicsDataProvider + RewardsHandler process.RewardsHandler + StakingDataProvider epochStart.StakingDataProvider + type RewardsCreatorProxyArgs struct + EconomicsDataProvider epochStart.EpochEconomicsDataProvider + RewardsHandler process.RewardsHandler + StakingDataProvider epochStart.StakingDataProvider + type StakingDataProviderArgs struct + EnableEpochsHandler common.EnableEpochsHandler + MinNodePrice string + SystemVM vmcommon.VMExecutionHandler + type TableDisplayHandler interface + DisplayTable func(tableHeader []string, lines []*display.LineData, message string) + IsInterfaceNil func() bool + type TestTrigger struct + func (t *TestTrigger) GetRoundsPerEpoch() uint64 + func (t *TestTrigger) IsInterfaceNil() bool + func (t *TestTrigger) SetEpoch(epoch uint32) + func (t *TestTrigger) SetMinRoundsBetweenEpochs(minRoundsPerEpoch uint64) + func (t *TestTrigger) SetRoundsPerEpoch(roundsPerEpoch uint64) + func (t *TestTrigger) SetTrigger(triggerHandler epochStart.TriggerHandler) + func (t TestTrigger) Close() error + func (t TestTrigger) Epoch() uint32 + func (t TestTrigger) EpochFinalityAttestingRound() uint64 + func (t TestTrigger) EpochStartMetaHdrHash() []byte + func (t TestTrigger) EpochStartRound() uint64 + func (t TestTrigger) ForceEpochStart(round uint64) + func (t TestTrigger) GetSavedStateKey() []byte + func (t TestTrigger) IsEpochStart() bool + func (t TestTrigger) LoadState(key []byte) error + func (t TestTrigger) MetaEpoch() uint32 + func (t TestTrigger) RequestEpochStartIfNeeded(_ data.HeaderHandler) + func (t TestTrigger) RevertStateToBlock(header data.HeaderHandler) error + func (t TestTrigger) SetCurrentEpochStartRound(round uint64) + func (t TestTrigger) SetEpochStartMetaHdrHash(metaHdrHash []byte) + func (t TestTrigger) SetFinalityAttestingRound(round uint64) + func (t TestTrigger) SetProcessed(header data.HeaderHandler, body data.BodyHandler) + func (t TestTrigger) Update(round uint64, nonce uint64)