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§