Module polkadot_node_primitives::approval
source · 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
A static context used for transcripts indicating assigned availability core.
A static context associated with producing randomness for a core.
A static context used for all relay-vrf-modulo VRFs.
A static context used for all relay-vrf-modulo VRFs.
A static context used to compute the Relay VRF story based on the
VRF output included in the header-chain.
A static context associated with producing randomness for a tranche.
Functions
Extract the slot number and relay VRF from a header.
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
.