Expand description
Staging Primitives.
Modules§
- async_
backing - Async backing primitives
Structs§
- Backed
Candidate - A backed (or backable, depending on context) candidate.
- Candidate
Descriptor V2 - A unique descriptor of the candidate receipt.
- Candidate
Receipt V2 - A candidate-receipt at version 2.
- CandidateUMP
Signals - User-friendly representation of a candidate’s UMP signals.
- Claim
Queue Offset - An offset in the relay chain claim queue.
- Committed
Candidate Receipt V2 - A candidate-receipt with commitments directly included.
- Core
Selector - A strictly increasing sequence number, typically this would be the least significant byte of the block number.
- Dispute
Proof - We store most of the information about a lost dispute on chain. This struct is required to identify and verify it.
- Inherent
Data - Parachains inherent-data passed into the runtime by a block author
- Internal
Version - A type representing the version of the candidate descriptor and internal version number.
- Occupied
Core - Information about a core which is currently occupied.
- Pending
Slashes - Slashes that are waiting to be applied once we have validator key identification.
- Scraped
OnChain Votes - Scraped runtime backing votes and resolved disputes.
Enums§
- Candidate
Descriptor Version - A type representing the version of the candidate descriptor.
- Candidate
Event - An event concerning a candidate.
- Committed
Candidate Receipt Error - CommittedCandidateReceiptError construction errors.
- Core
State - The state of a particular availability core.
- Dispute
Offence Kind - Supercedes the old ‘SlashingOffenceKind’ enum.
- UMPSignal
- Signals that a parachain can send to the relay chain via the UMP queue.
Constants§
- DEFAULT_
CLAIM_ QUEUE_ OFFSET - The default claim queue offset to be used if it’s not configured/accessible in the parachain runtime
- UMP_
SEPARATOR - Separator between
XCM
andUMPSignal
.
Traits§
- Mutate
Descriptor V2 - A trait to allow changing the descriptor field values in tests.
Functions§
- skip_
ump_ signals - Utility function for skipping the ump signals.
- transpose_
claim_ queue - Returns a mapping between the para id and the core indices assigned at different depths in the claim queue.
Type Aliases§
- Approved
Peer Id - Approved PeerId type. PeerIds in polkadot should typically be 32 bytes long but for identity multihash can go up to 64. Cannot reuse the PeerId type definition from the networking code as it’s too generic and extensible.
- Transposed
Claim Queue - The claim queue mapped by parachain id.