Module polkadot_node_primitives::approval::v1

source ·
Expand description

A list of primitives introduced in v1.

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 pre-output. Provide BABE Epoch info to create a RelayVRFStory.
  • VRF pre-output type suitable for schnorrkel operations.
  • VRF proof type suitable for schnorrkel operations.
  • VRF signature data
  • Transcript ready to be used for VRF related 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 Aliases§

  • Validators assigning to check a particular candidate are split up into tranches. Earlier tranches of validators check first, with later tranches serving as backup.
  • Randomness type required by BABE operations.