Trait pallet_beefy_mmr::ParachainHeadsProvider[][src]

pub trait ParachainHeadsProvider {
    fn parachain_heads() -> Vec<(u32, Vec<u8>)>;
}
Expand description

A type that is able to return current list of parachain heads that end up in the MMR leaf.

Required methods

Return a list of tuples containing a ParaId and Parachain Header data (ParaHead).

The returned data does not have to be sorted.

Implementations on Foreign Types

A default implementation for runtimes without parachains.

Implementors