Trait fuel_core_poa::ports::BlockProducer
source · pub trait BlockProducer: Send + Sync {
// Required method
fn produce_and_execute_block<'life0, 'async_trait>(
&'life0 self,
height: BlockHeight,
block_time: Tai64,
source: TransactionsSource,
) -> Pin<Box<dyn Future<Output = Result<UncommittedExecutionResult<Changes>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}