Documentation ¶
Index ¶
- func NewPrintDoubleTransactionsDetector(args ArgsPrintDoubleTransactionsDetector) (*printDoubleTransactionsDetector, error)
- func NewTransactionCoordinator(args ArgTransactionCoordinator) (*transactionCoordinator, error)
- func NewTxTypeHandler(args ArgNewTxTypeHandler) (*txTypeHandler, error)
- type ArgNewTxTypeHandler
- type ArgTransactionCoordinator
- type ArgsPrintDoubleTransactionsDetector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPrintDoubleTransactionsDetector ¶ added in v1.3.7
func NewPrintDoubleTransactionsDetector(args ArgsPrintDoubleTransactionsDetector) (*printDoubleTransactionsDetector, error)
NewPrintDoubleTransactionsDetector creates a new instance of printDoubleTransactionsDetector
func NewTransactionCoordinator ¶
func NewTransactionCoordinator(args ArgTransactionCoordinator) (*transactionCoordinator, error)
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 BuiltInFunctions vmcommon.BuiltInFunctionContainer ArgumentParser process.CallArgumentsParser RelayedTxV2EnableEpoch uint32 EpochNotifier process.EpochNotifier ESDTTransferParser vmcommon.ESDTTransferParser }
ArgNewTxTypeHandler defines the arguments needed to create a new tx type handler
type ArgTransactionCoordinator ¶ added in v1.2.0
type ArgTransactionCoordinator struct { 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 TransactionsLogProcessor process.TransactionLogProcessor BlockGasAndFeesReCheckEnableEpoch uint32 EpochNotifier process.EpochNotifier ScheduledTxsExecutionHandler process.ScheduledTxsExecutionHandler ScheduledMiniBlocksEnableEpoch uint32 DoubleTransactionsDetector process.DoubleTransactionDetector }
ArgTransactionCoordinator holds all dependencies required by the transaction coordinator factory in order to create new instances
type ArgsPrintDoubleTransactionsDetector ¶ added in v1.3.7
type ArgsPrintDoubleTransactionsDetector struct { Marshaller marshal.Marshalizer Hasher hashing.Hasher EpochNotifier process.EpochNotifier AddFailedRelayedTxToInvalidMBsDisableEpoch uint32 }
ArgsPrintDoubleTransactionsDetector is the argument DTO structure used in the NewPrintDoubleTransactionsDetector function
Click to show internal directories.
Click to hide internal directories.