referrerpolicy=no-referrer-when-downgrade
pallet_mmr::pallet

Type Alias Nodes

Source
pub type Nodes<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageNodes<T, I>, Identity, NodeIndex, <<T as Config<I>>::Hashing as Hash>::Output, OptionQuery>;
Expand description

Hashes of the nodes in the MMR.

Note this collection only contains MMR peaks, the inner nodes (and leaves) are pruned and only stored in the Offchain DB.

Storage type is [StorageMap] with key type NodeIndex and value type HashOf < T, I >.

Aliased Type§

struct Nodes<T: Config<I>, I: 'static = ()>(/* private fields */);