fuel_block_producer::ports

Trait Relayer

Source
pub trait Relayer: Sync + Send {
    // Required method
    fn get_best_finalized_da_height<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<DaBlockHeight>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_best_finalized_da_height<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<DaBlockHeight>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Get the best finalized height from the DA layer

Implementors§