Documentation ¶
Index ¶
- func NewIntermediateProcessorsContainerFactory(shardCoordinator sharding.Coordinator, marshalizer marshal.Marshalizer, ...) (*intermediateProcessorsContainerFactory, error)
- func NewPreProcessorsContainerFactory(shardCoordinator sharding.Coordinator, store dataRetriever.StorageService, ...) (*preProcessorsContainerFactory, error)
- func NewVMContainerFactory(args ArgsNewVMContainerFactory) (*vmContainerFactory, error)
- type ArgsNewVMContainerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIntermediateProcessorsContainerFactory ¶
func NewIntermediateProcessorsContainerFactory( shardCoordinator sharding.Coordinator, marshalizer marshal.Marshalizer, hasher hashing.Hasher, pubkeyConverter core.PubkeyConverter, store dataRetriever.StorageService, poolsHolder dataRetriever.PoolsHolder, economicsFee process.FeeHandler, ) (*intermediateProcessorsContainerFactory, error)
NewIntermediateProcessorsContainerFactory is responsible for creating a new intermediate processors factory object
func NewPreProcessorsContainerFactory ¶
func NewPreProcessorsContainerFactory( shardCoordinator sharding.Coordinator, store dataRetriever.StorageService, marshalizer marshal.Marshalizer, hasher hashing.Hasher, dataPool dataRetriever.PoolsHolder, accounts state.AccountsAdapter, requestHandler process.RequestHandler, txProcessor process.TransactionProcessor, scResultProcessor process.SmartContractResultProcessor, economicsFee process.FeeHandler, gasHandler process.GasHandler, blockTracker preprocess.BlockTracker, pubkeyConverter core.PubkeyConverter, blockSizeComputation preprocess.BlockSizeComputationHandler, balanceComputation preprocess.BalanceComputationHandler, epochNotifier process.EpochNotifier, optimizeGasUsedInCrossMiniBlocksEnableEpoch uint32, frontRunningProtectionEnableEpoch uint32, scheduledMiniBlocksEnableEpoch uint32, txTypeHandler process.TxTypeHandler, scheduledTxsExecutionHandler process.ScheduledTxsExecutionHandler, processedMiniBlocksTracker process.ProcessedMiniBlocksTracker, ) (*preProcessorsContainerFactory, error)
NewPreProcessorsContainerFactory is responsible for creating a new preProcessors factory object
func NewVMContainerFactory ¶
func NewVMContainerFactory(args ArgsNewVMContainerFactory) (*vmContainerFactory, error)
NewVMContainerFactory is responsible for creating a new virtual machine factory object
Types ¶
type ArgsNewVMContainerFactory ¶ added in v1.1.15
type ArgsNewVMContainerFactory struct { Economics process.EconomicsDataHandler MessageSignVerifier vm.MessageSignVerifier GasSchedule core.GasScheduleNotifier NodesConfigProvider vm.NodesConfigProvider Hasher hashing.Hasher Marshalizer marshal.Marshalizer SystemSCConfig *config.SystemSmartContractsConfig ValidatorAccountsDB state.AccountsAdapter ChanceComputer nodesCoordinator.ChanceComputer EpochNotifier process.EpochNotifier EpochConfig *config.EpochConfig ShardCoordinator sharding.Coordinator PubkeyConv core.PubkeyConverter BlockChainHook process.BlockChainHookHandler }
ArgsNewVMContainerFactory defines the arguments needed to create a new VM container factory
Click to show internal directories.
Click to hide internal directories.