Trait ConsensusApi
Source pub trait ConsensusApi: ApiSerializations {
// Required methods
fn get_state_certificate<'life0, 'async_trait>(
&'life0 self,
epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<Self::StateCertificate>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_stake_table<'life0, 'async_trait>(
&'life0 self,
epoch: u64,
) -> Pin<Box<dyn Future<Output = Result<Self::StakeTable>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}