pub fn shard_membership_entropy_source<BCI>(
block_number: BlockNumber,
parent_block_root: &BlockRoot,
shard_rotation_interval: BlockNumber,
shard_rotation_delay: BlockNumber,
beacon_chain_info: &BCI,
) -> Result<ShardMembershipEntropy, ShardMembershipEntropySourceError>where
BCI: ShardMembershipEntropySourceChainInfo,Expand description
Find shard membership entropy for a block with a specified block number and parent.
The entropy source block is looked up among the ancestors of parent_block_root, on the chain
that the block extends.