Trait pallet_mmr::BlockHashProvider
source · pub trait BlockHashProvider<BlockNumber, BlockHash> {
// Required method
fn block_hash(block_number: BlockNumber) -> BlockHash;
}
Expand description
Block hash provider for a given block number.
Required Methods§
fn block_hash(block_number: BlockNumber) -> BlockHash
Object Safety§
This trait is not object safe.