referrerpolicy=no-referrer-when-downgrade
pub type HrmpIngressChannelsIndex<T: Config> = StorageMap<_GeneratedPrefixForStorageHrmpIngressChannelsIndex<T>, Twox64Concat, Id, Vec<Id>, ValueQuery>;
Expand description

Ingress/egress indexes allow to find all the senders and receivers given the opposite side. I.e.

(a) ingress index allows to find all the senders for a given recipient. (b) egress index allows to find all the recipients for a given sender.

Invariants:

  • for each ingress index entry for P each item I in the index should present in HrmpChannels as (I, P).
  • for each egress index entry for P each item E in the index should present in HrmpChannels as (P, E).
  • there should be no other dangling channels in HrmpChannels.
  • the vectors are sorted.

Storage type is [StorageMap] with key type ParaId and value type Vec < ParaId >.

Aliased Type§

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