BlockScanner

Trait BlockScanner 

Source
pub trait BlockScanner: Sync + Send {
    // Required method
    fn scan<'life0, 'async_trait>(
        &'life0 self,
        from: Option<RawCardanoPoint>,
        until: BlockNumber,
    ) -> Pin<Box<dyn Future<Output = StdResult<Box<dyn BlockStreamer>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A scanner that can read cardano transactions in a cardano database

Required Methods§

Source

fn scan<'life0, 'async_trait>( &'life0 self, from: Option<RawCardanoPoint>, until: BlockNumber, ) -> Pin<Box<dyn Future<Output = StdResult<Box<dyn BlockStreamer>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Scan the transactions

Implementors§