referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_mmr::pallet::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 */);