fuel_core_interfaces::p2p

Trait P2pDb

Source
pub trait P2pDb: Send + Sync {
    // Required method
    fn get_sealed_block<'life0, 'async_trait>(
        &'life0 self,
        height: BlockHeight,
    ) -> Pin<Box<dyn Future<Output = Option<Arc<SealedFuelBlock>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_sealed_block<'life0, 'async_trait>( &'life0 self, height: BlockHeight, ) -> Pin<Box<dyn Future<Output = Option<Arc<SealedFuelBlock>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§