referrerpolicy=no-referrer-when-downgrade
Expand description

Helpers for the validator->chunk index mapping.

Functions§

  • Compute the per-validator availability chunk index. WARNING: THIS FUNCTION IS CRITICAL TO PARACHAIN CONSENSUS. Any modification to the output of the function needs to be coordinated via the runtime. It’s best to use minimal/no external dependencies.
  • Compute the per-core availability chunk indices. Returns a Vec which maps ValidatorIndex to ChunkIndex for a given availability core index WARNING: THIS FUNCTION IS CRITICAL TO PARACHAIN CONSENSUS. Any modification to the output of the function needs to be coordinated via the runtime. It’s best to use minimal/no external dependencies.