fuel_core_poa::ports

Trait BlockSigner

source
pub trait BlockSigner: Send + Sync {
    // Required methods
    fn seal_block<'life0, 'life1, 'async_trait>(
        &'life0 self,
        block: &'life1 Block,
    ) -> Pin<Box<dyn Future<Output = Result<Consensus>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn is_available(&self) -> bool;
}

Required Methods§

source

fn seal_block<'life0, 'life1, 'async_trait>( &'life0 self, block: &'life1 Block, ) -> Pin<Box<dyn Future<Output = Result<Consensus>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn is_available(&self) -> bool

Implementors§