referrerpolicy=no-referrer-when-downgrade

Module messages

Source
Expand description

Message types for the overseer and subsystems.

These messages are intended to define the protocol by which different subsystems communicate with each other and signals that they receive from an overseer to coordinate their work. This is intended for use with the polkadot-overseer crate.

Subsystems’ APIs are defined separately from their implementation, leading to easier mocking.

Re-exports§

pub use network_bridge_event::NetworkBridgeEvent;

Modules§

network_bridge_event
Network events as transmitted to other subsystems, wrapped in their message types.

Structs§

BlockDescription
Describes a relay-chain block by the para-chain candidates it includes.
CanSecondRequest
A request to the candidate backing subsystem to check whether we can second this candidate.
CheckedIndirectAssignment
A checked indirect assignment, the crypto for the cert has been validated and the candidate_bitfield is correctly claimed at delay_tranche.
CheckedIndirectSignedApprovalVote
A checked indirect signed approval vote.
HighestApprovedAncestorBlock
Response type to ApprovalVotingMessage::ApprovedAncestor.
HypotheticalMembershipRequest
Request specifying which candidates are either already included or might become included in fragment chain under a given active leaf (or any active leaf if fragment_chain_relay_parent is None).
IntroduceSecondedCandidateRequest
Request introduction of a seconded candidate into the prospective parachains subsystem.
ProspectiveValidationDataRequest
A request for the persisted validation data stored in the prospective parachains subsystem.
ProvisionerInherentData
Inherent data returned by the provisioner
ValidationFailed
Blanket error for validation failing for internal reasons.

Enums§

ApprovalCheckError
The error result type of ApprovalVotingMessage::ImportApproval request.
ApprovalCheckResult
The result type of ApprovalVotingMessage::ImportApproval request.
ApprovalDistributionMessage
Message to the Approval Distribution subsystem.
ApprovalVotingMessage
Message to the Approval Voting subsystem.
ApprovalVotingParallelMessage
Message to the approval voting parallel subsystem running both approval-distribution and approval-voting logic in parallel. This is a combination of all the messages ApprovalVoting and ApprovalDistribution subsystems can receive.
AssignmentCheckError
The error result type of ApprovalVotingMessage::ImportAssignment request.
AssignmentCheckResult
The result type of ApprovalVotingMessage::ImportAssignment request.
AvailabilityDistributionMessage
Availability Distribution Message.
AvailabilityRecoveryMessage
Availability Recovery Message.
AvailabilityStoreMessage
Availability store subsystem message.
BitfieldDistributionMessage
Bitfield distribution message.
CandidateBackingMessage
Messages received by the Candidate Backing subsystem.
CandidateValidationMessage
Messages received by the Validation subsystem.
ChainApiMessage
Chain API request subsystem message.
ChainSelectionMessage
Chain selection subsystem messages
CollationGenerationMessage
Message to the Collation Generation subsystem.
CollatorProtocolMessage
Messages received by the Collator Protocol subsystem.
DisputeCoordinatorMessage
Messages received by the dispute coordinator subsystem.
DisputeDistributionMessage
Messages going to the dispute distribution subsystem.
GossipSupportMessage
Message to the Gossip Support subsystem.
HypotheticalCandidate
A hypothetical candidate to be evaluated for potential/actual membership in the prospective parachains subsystem.
IfDisconnected
When sending a request, what to do on a disconnected recipient.
ImportStatementsResult
The result of DisputeCoordinatorMessage::ImportStatements.
NetworkBridgeRxMessage
Messages received from other subsystems.
NetworkBridgeTxMessage
Messages received from other subsystems by the network bridge subsystem.
ParentHeadData
The parent head-data hash with optional data itself.
PreCheckOutcome
The outcome of the candidate-validation’s PVF pre-check request.
ProspectiveParachainsMessage
Messages sent to the Prospective Parachains subsystem.
ProvisionableData
This data becomes intrinsics or extrinsics which should be included in a future relay chain block.
ProvisionerMessage
Message to the Provisioner.
PvfExecKind
Extends primitives::PvfExecKind, which is a runtime parameter we don’t want to change, to separate and prioritize execution jobs by request type.
ReportPeerMessage
Type of peer reporting
RuntimeApiMessage
A message to the Runtime API subsystem.
RuntimeApiRequest
A request to the Runtime API subsystem.
StatementDistributionMessage
Statement distribution message.
StoreAvailableDataError
The error result type of a AvailabilityStoreMessage::StoreAvailableData request.

Type Aliases§

Ancestors
A collection of ancestor candidates of a parachain.
ChainApiResponseChannel
A response channel for the result of a chain API request.
HypotheticalMembership
Indicates the relay-parents whose fragment chain a candidate is present in or can be added in (right now or in the future).
RuntimeApiSender
A sender for the result of a runtime API request.