fuel_core_producer::ports

Trait BlockProducer

source
pub trait BlockProducer<TxSource>: Send + Sync {
    // Required method
    fn produce_without_commit(
        &self,
        component: Components<TxSource>,
    ) -> ExecutorResult<UncommittedResult<Changes>>;
}

Required Methods§

source

fn produce_without_commit( &self, component: Components<TxSource>, ) -> ExecutorResult<UncommittedResult<Changes>>

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

Implementors§