pallet_domains

Type Alias ConsensusBlockHash

source
pub type ConsensusBlockHash<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageConsensusBlockHash<T>, Identity, DomainId, Identity, BlockNumberFor<T>, T::Hash, OptionQuery>;
Expand description

Map of consensus block hashes.

The consensus block hash used to verify ER, only store the consensus block hash for a domain if that consensus block contains bundle of the domain, the hash will be pruned when the ER that point to the consensus block is pruned.

Storage type is [StorageDoubleMap] with key1 type DomainId, key2 type BlockNumberFor < T > and value type T :: Hash.

Aliased Typeยง

struct ConsensusBlockHash<T: Config>(/* private fields */);