ShardMembershipEntropySourceChainInfo

Trait ShardMembershipEntropySourceChainInfo 

Source
pub trait ShardMembershipEntropySourceChainInfo: Send + Sync {
    // Required method
    fn ancestor_header_proof_of_time(
        &self,
        ancestor_block_number: BlockNumber,
        descendant_block_root: &BlockRoot,
    ) -> Option<PotOutput>;
}
Expand description

Chain info for shard_membership_entropy_source().

Must have access to enough parent blocks.

Required Methods§

Source

fn ancestor_header_proof_of_time( &self, ancestor_block_number: BlockNumber, descendant_block_root: &BlockRoot, ) -> Option<PotOutput>

Implementors§

Source§

impl<T> ShardMembershipEntropySourceChainInfo for T
where T: ChainInfo<OwnedBeaconChainBlock>,