pub trait SidechainRpcDataSource {
// Required method
fn get_latest_block_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MainchainBlock, Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Data source used by SidechainRpc for querying latest block