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§
- Block
Description - Describes a relay-chain block by the para-chain candidates it includes.
- CanSecond
Request - A request to the candidate backing subsystem to check whether we can second this candidate.
- Checked
Indirect Assignment - A checked indirect assignment, the crypto for the cert has been validated
and the
candidate_bitfield
is correctly claimed atdelay_tranche
. - Checked
Indirect Signed Approval Vote - A checked indirect signed approval vote.
- Highest
Approved Ancestor Block - Response type to
ApprovalVotingMessage::ApprovedAncestor
. - Hypothetical
Membership Request - 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
isNone
). - Introduce
Seconded Candidate Request - Request introduction of a seconded candidate into the prospective parachains subsystem.
- Prospective
Validation Data Request - A request for the persisted validation data stored in the prospective parachains subsystem.
- Provisioner
Inherent Data - Inherent data returned by the provisioner
- Validation
Failed - Blanket error for validation failing for internal reasons.
Enums§
- Approval
Check Error - The error result type of
ApprovalVotingMessage::ImportApproval
request. - Approval
Check Result - The result type of
ApprovalVotingMessage::ImportApproval
request. - Approval
Distribution Message - Message to the Approval Distribution subsystem.
- Approval
Voting Message - Message to the Approval Voting subsystem.
- Approval
Voting Parallel Message - 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.
- Assignment
Check Error - The error result type of
ApprovalVotingMessage::ImportAssignment
request. - Assignment
Check Result - The result type of
ApprovalVotingMessage::ImportAssignment
request. - Availability
Distribution Message - Availability Distribution Message.
- Availability
Recovery Message - Availability Recovery Message.
- Availability
Store Message - Availability store subsystem message.
- Bitfield
Distribution Message - Bitfield distribution message.
- Candidate
Backing Message - Messages received by the Candidate Backing subsystem.
- Candidate
Validation Message - Messages received by the Validation subsystem.
- Chain
ApiMessage - Chain API request subsystem message.
- Chain
Selection Message - Chain selection subsystem messages
- Collation
Generation Message - Message to the Collation Generation subsystem.
- Collator
Protocol Message - Messages received by the Collator Protocol subsystem.
- Dispute
Coordinator Message - Messages received by the dispute coordinator subsystem.
- Dispute
Distribution Message - Messages going to the dispute distribution subsystem.
- Gossip
Support Message - Message to the Gossip Support subsystem.
- Hypothetical
Candidate - 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.
- Import
Statements Result - The result of
DisputeCoordinatorMessage::ImportStatements
. - Network
Bridge RxMessage - Messages received from other subsystems.
- Network
Bridge TxMessage - Messages received from other subsystems by the network bridge subsystem.
- Parent
Head Data - The parent head-data hash with optional data itself.
- PreCheck
Outcome - The outcome of the candidate-validation’s PVF pre-check request.
- Prospective
Parachains Message - Messages sent to the Prospective Parachains subsystem.
- Provisionable
Data - This data becomes intrinsics or extrinsics which should be included in a future relay chain block.
- Provisioner
Message - Message to the Provisioner.
- PvfExec
Kind - Extends primitives::PvfExecKind, which is a runtime parameter we don’t want to change, to separate and prioritize execution jobs by request type.
- Report
Peer Message - Type of peer reporting
- Runtime
ApiMessage - A message to the Runtime API subsystem.
- Runtime
ApiRequest - A request to the Runtime API subsystem.
- Statement
Distribution Message - Statement distribution message.
- Store
Available Data Error - The error result type of a
AvailabilityStoreMessage::StoreAvailableData
request.
Type Aliases§
- Ancestors
- A collection of ancestor candidates of a parachain.
- Chain
ApiResponse Channel - A response channel for the result of a chain API request.
- Hypothetical
Membership - Indicates the relay-parents whose fragment chain a candidate is present in or can be added in (right now or in the future).
- Runtime
ApiSender - A sender for the result of a runtime API request.