Trait sp_consensus_beefy::mmr::BeefyDataProvider
source · pub trait BeefyDataProvider<ExtraData> {
// Required method
fn extra_data() -> ExtraData;
}
Expand description
A provider for extra data that gets added to the Mmr leaf
Required Methods§
sourcefn extra_data() -> ExtraData
fn extra_data() -> ExtraData
Return a vector of bytes, ideally should be a merkle root hash
Object Safety§
This trait is not object safe.