Module polkadot_node_primitives::approval::v2
source · Expand description
A list of primitives introduced by v2.
Structs§
- A certification of assignment.
- A bit index in
Bitfield
. - A read-only bitvec wrapper
- 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.
- Unit type wrapper that represents a slot.
- 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 when trying to convert to/from approvals v1/v2
- Certificate is changed compared to
AssignmentCertKind
: - Errors that can occur when trying to convert to/from assignment v1/v2
- Errors that can occur when creating and manipulating bitfields.
Constants§
- A static context associated with producing randomness for v2 multi-core assignments.
- A static context associated with producing randomness for a core.
- A static context used for all relay-vrf-modulo VRFs for v2 multi-core assignments.
Traits§
- Helper trait to convert primitives to
BitIndex
.
Type Aliases§
- A
read-only
,non-zero
bitfield. Each 1 bit identifies a candidate by the bitfield bit index. - A bitfield of core assignments.
- Randomness type required by BABE operations.