Trait ChainSync

Source
pub trait ChainSync {
    // Required method
    fn sync<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        chain: &'life1 ChainSource,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Ability to sync the wallet with the onchain network.

Required Methods§

Source

fn sync<'life0, 'life1, 'async_trait>( &'life0 mut self, chain: &'life1 ChainSource, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Sync the wallet with the onchain network.

Implementors§