referrerpolicy=no-referrer-when-downgrade

Module vstaging

Source
Expand description

Staging Primitives.

Modules§

async_backing
Async backing primitives

Structs§

BackedCandidate
A backed (or backable, depending on context) candidate.
CandidateDescriptorV2
A unique descriptor of the candidate receipt.
CandidateReceiptV2
A candidate-receipt at version 2.
CandidateUMPSignals
User-friendly representation of a candidate’s UMP signals.
ClaimQueueOffset
An offset in the relay chain claim queue.
CommittedCandidateReceiptV2
A candidate-receipt with commitments directly included.
CoreSelector
A strictly increasing sequence number, typically this would be the least significant byte of the block number.
DisputeProof
We store most of the information about a lost dispute on chain. This struct is required to identify and verify it.
InherentData
Parachains inherent-data passed into the runtime by a block author
InternalVersion
A type representing the version of the candidate descriptor and internal version number.
OccupiedCore
Information about a core which is currently occupied.
PendingSlashes
Slashes that are waiting to be applied once we have validator key identification.
ScrapedOnChainVotes
Scraped runtime backing votes and resolved disputes.

Enums§

CandidateDescriptorVersion
A type representing the version of the candidate descriptor.
CandidateEvent
An event concerning a candidate.
CommittedCandidateReceiptError
CommittedCandidateReceiptError construction errors.
CoreState
The state of a particular availability core.
DisputeOffenceKind
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 and UMPSignal.

Traits§

MutateDescriptorV2
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§

ApprovedPeerId
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.
TransposedClaimQueue
The claim queue mapped by parachain id.