pub trait ConsensusProvider {
// Required methods
fn num_blocks_in_epoch(&self, hash: &H256) -> u64;
fn block_header_by_hash(&self, hash: &H256) -> Option<Arc<BlockHeader>>;
}
pub trait ConsensusProvider {
// Required methods
fn num_blocks_in_epoch(&self, hash: &H256) -> u64;
fn block_header_by_hash(&self, hash: &H256) -> Option<Arc<BlockHeader>>;
}