Type Alias polkadot_runtime_parachains::hrmp::pallet::HrmpChannelDigests
source · pub type HrmpChannelDigests<T: Config> = StorageMap<_GeneratedPrefixForStorageHrmpChannelDigests<T>, Twox64Concat, Id, Vec<(BlockNumberFor<T>, Vec<Id>)>, ValueQuery>;
Expand description
Maintains a mapping that can be used to answer the question: What paras sent a message at the given block number for a given receiver. Invariants:
- The inner
Vec<ParaId>
is never empty. - The inner
Vec<ParaId>
cannot store two sameParaId
. - The outer vector is sorted ascending by block number and cannot store two items with the same block number.
Storage type is [StorageMap
] with key type ParaId
and value type Vec < (BlockNumberFor < T > , Vec < ParaId >) >
.
Aliased Type§
struct HrmpChannelDigests<T: Config>(/* private fields */);