Documentation ¶
Index ¶
- func NewIntermediateResultsProcessor(hasher hashing.Hasher, marshalizer marshal.Marshalizer, ...) (*intermediateResultsProcessor, error)
- func NewSmartContractResultPreprocessor(scrDataPool dataRetriever.ShardedDataCacherNotifier, ...) (*smartContractResults, error)
- func NewTransactionPreprocessor(txDataPool dataRetriever.ShardedDataCacherNotifier, ...) (*transactions, error)
- func SortTxByNonce(txShardStore storage.Cacher) ([]*transaction.Transaction, [][]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIntermediateResultsProcessor ¶ added in v1.0.11
func NewIntermediateResultsProcessor( hasher hashing.Hasher, marshalizer marshal.Marshalizer, coordinator sharding.Coordinator, adrConv state.AddressConverter, store dataRetriever.StorageService, blockType block.Type, ) (*intermediateResultsProcessor, error)
NewIntermediateResultsProcessor creates a new intermediate results processor
func NewSmartContractResultPreprocessor ¶
func NewSmartContractResultPreprocessor( scrDataPool dataRetriever.ShardedDataCacherNotifier, store dataRetriever.StorageService, hasher hashing.Hasher, marshalizer marshal.Marshalizer, scrProcessor process.SmartContractResultProcessor, shardCoordinator sharding.Coordinator, accounts state.AccountsAdapter, onRequestSmartContractResult func(shardID uint32, txHashes [][]byte), ) (*smartContractResults, error)
NewSmartContractResultPreprocessor creates a new smartContractResult preprocessor object
func NewTransactionPreprocessor ¶
func NewTransactionPreprocessor( txDataPool dataRetriever.ShardedDataCacherNotifier, store dataRetriever.StorageService, hasher hashing.Hasher, marshalizer marshal.Marshalizer, txProcessor process.TransactionProcessor, shardCoordinator sharding.Coordinator, accounts state.AccountsAdapter, onRequestTransaction func(shardID uint32, txHashes [][]byte), ) (*transactions, error)
NewTransactionPreprocessor creates a new transaction preprocessor object
func SortTxByNonce ¶ added in v1.0.3
func SortTxByNonce(txShardStore storage.Cacher) ([]*transaction.Transaction, [][]byte, error)
SortTxByNonce sort transactions according to nonces
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.