Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransactionCoordinator ¶
func NewTransactionCoordinator( hasher hashing.Hasher, marshalizer marshal.Marshalizer, shardCoordinator sharding.Coordinator, accounts state.AccountsAdapter, miniBlockPool storage.Cacher, requestHandler process.RequestHandler, preProcessors process.PreProcessorsContainer, interProcessors process.IntermediateProcessorContainer, gasHandler process.GasHandler, feeHandler process.TransactionFeeHandler, blockSizeComputation preprocess.BlockSizeComputationHandler, balanceComputation preprocess.BalanceComputationHandler, economicsFee process.FeeHandler, txTypeHandler process.TxTypeHandler, blockGasAndFeesReCheckEnableEpoch uint32, ) (*transactionCoordinator, error)
TODO: Should be refactored with arguments (added task EN-8790 in Jira) NewTransactionCoordinator creates a transaction coordinator to run and coordinate preprocessors and processors
func NewTxTypeHandler ¶
func NewTxTypeHandler( args ArgNewTxTypeHandler, ) (*txTypeHandler, error)
NewTxTypeHandler creates a transaction type handler
Types ¶
type ArgNewTxTypeHandler ¶ added in v1.0.103
type ArgNewTxTypeHandler struct { PubkeyConverter core.PubkeyConverter ShardCoordinator sharding.Coordinator BuiltInFuncNames map[string]struct{} ArgumentParser process.CallArgumentsParser }
ArgNewTxTypeHandler defines the arguments needed to create a new tx type handler
Click to show internal directories.
Click to hide internal directories.