pub trait Executor<Database: ?Sized>: Sync + Send {
    fn execute_without_commit(
        &self,
        block: ExecutionBlock
    ) -> Result<UncommittedResult<DBTransaction<Database>>, ExecutorError>; fn dry_run(
        &self,
        block: ExecutionBlock,
        utxo_validation: Option<bool>
    ) -> Result<Vec<Vec<Receipt>>, ExecutorError>; }

Required Methods§

Executes the block and returns the result of execution with uncommitted database transaction.

Executes the block without committing it to the database. During execution collects the receipts to return them. The utxo_validation field can be used to disable the validation of utxos during execution.

Implementors§