Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReadOnlyAccountsDB ¶
func NewReadOnlyAccountsDB(accountsDB state.AccountsAdapter) (*readOnlyAccountsDB, error)
NewReadOnlyAccountsDB returns a new instance of readOnlyAccountsDB
func NewTransactionSimulator ¶
func NewTransactionSimulator(args ArgsTxSimulator) (*transactionSimulator, error)
NewTransactionSimulator returns a new instance of a transactionSimulator
Types ¶
type ArgsTxSimulator ¶
type ArgsTxSimulator struct { TransactionProcessor TransactionProcessor IntermmediateProcContainer process.IntermediateProcessorContainer AddressPubKeyConverter core.PubkeyConverter ShardCoordinator sharding.Coordinator }
ArgsTxSimulator holds the arguments required for creating a new transaction simulator
type TransactionProcessor ¶
type TransactionProcessor interface { ProcessTransaction(transaction *transaction.Transaction) (vmcommon.ReturnCode, error) IsInterfaceNil() bool }
TransactionProcessor defines the operations needed do be done by a transaction processor
Click to show internal directories.
Click to hide internal directories.