pub type AvailabilityCores<T: Config> = StorageValue<_GeneratedPrefixForStorageAvailabilityCores<T>, Vec<CoreOccupiedType<T>>, ValueQuery>;
Expand description

One entry for each availability core. The i’th parachain belongs to the i’th core, with the remaining cores all being on demand parachain multiplexers.

Bounded by the maximum of either of these two values:

  • The number of parachains and parathread multiplexers
  • The number of validators divided by configuration.max_validators_per_core.

Storage type is [StorageValue] with value type Vec < CoreOccupiedType < T > >.

Aliased Type§

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