Expand description

Types relevant for approval.

Structs

  • A certification of assignment.
  • Metadata about a block which is now live in the approval protocol.
  • An assignment criterion which refers to the candidate under which the assignment is relevant by block hash.
  • A signed approval vote which references the candidate indirectly via the block.
  • random bytes derived from the VRF submitted within the block by the block author as a credential and used as input to approval assignment criteria.
  • Unit type wrapper that represents a slot.
  • An unsafe VRF output. Provide BABE Epoch info to create a RelayVRFStory.
  • VRF output type available for std environment, suitable for schnorrkel operations.
  • VRF proof type available for std environment, suitable for schnorrkel operations.

Enums

  • Errors that can occur during the approvals protocol.
  • Different kinds of input data or criteria that can prove a validator’s assignment to check a particular parachain.

Constants

Functions

Type Definitions

  • Validators assigning to check a particular candidate are split up into tranches. Earlier tranches of validators check first, with later tranches serving as backup.
  • Schnorrkel randomness value. Same size as VRFOutput.