Module malus::interceptor
source · Expand description
A small set of wrapping types to cover most of our adversary test cases.
This allows types with internal mutability to synchronize across multiple subsystems and intercept or replace incoming and outgoing messages on the overseer level.
Re-exports§
pub use polkadot_node_subsystem::overseer;
Modules§
- Network events as transmitted to other subsystems, wrapped in their message types.
Structs§
- Describes a relay-chain block by the para-chain candidates it includes.
- A request to the candidate backing subsystem to check whether we can second this candidate.
- A checked indirect assignment, the crypto for the cert has been validated and the
candidate_bitfield
is correctly claimed atdelay_tranche
. - A checked indirect signed approval vote.
- Response type to
ApprovalVotingMessage::ApprovedAncestor
. - 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
). - A subsystem context, that filters the outgoing messages.
- A sender with the outgoing messages filtered.
- A subsystem to which incoming and outgoing filters are applied.
- Request introduction of a seconded candidate into the prospective parachains subsystem.
- A request for the persisted validation data stored in the prospective parachains subsystem.
- Inherent data returned by the provisioner
- Blanket error for validation failing for internal reasons.
Enums§
- Generated message type wrapper over all possible messages used by any subsystem.
- The error result type of
ApprovalVotingMessage::ImportApproval
request. - The result type of
ApprovalVotingMessage::ImportApproval
request. - Message to the Approval Distribution subsystem.
- Message to the Approval Voting subsystem.
- 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.
- The error result type of
ApprovalVotingMessage::ImportAssignment
request. - The result type of
ApprovalVotingMessage::ImportAssignment
request. - Availability Distribution Message.
- Availability Recovery Message.
- Availability store subsystem message.
- Bitfield distribution message.
- A dummy implementation to satisfy the current internal structure and cannot be constructed delibarately, since it’s not meant to be sent or used at all
- Messages received by the Candidate Backing subsystem.
- Messages received by the Validation subsystem.
- Chain API request subsystem message.
- Chain selection subsystem messages
- Message to the Collation Generation subsystem.
- Messages received by the Collator Protocol subsystem.
- Messages received by the dispute coordinator subsystem.
- Messages going to the dispute distribution subsystem.
- Message to the Gossip Support subsystem.
- A hypothetical candidate to be evaluated for potential/actual membership in the prospective parachains subsystem.
- When sending a request, what to do on a disconnected recipient.
- The result of
DisputeCoordinatorMessage::ImportStatements
. - Events from network.
- Messages received from other subsystems.
- Messages received from other subsystems by the network bridge subsystem.
- The parent head-data hash with optional data itself.
- The outcome of the candidate-validation’s PVF pre-check request.
- Messages sent to the Prospective Parachains subsystem.
- This data becomes intrinsics or extrinsics which should be included in a future relay chain block.
- Message to the Provisioner.
- A dummy implementation to satisfy the current internal structure and cannot be constructed delibarately, since it’s not meant to be sent or used at all
- Extends primitives::PvfExecKind, which is a runtime parameter we don’t want to change, to separate and prioritize execution jobs by request type.
- Type of peer reporting
- A message to the Runtime API subsystem.
- A request to the Runtime API subsystem.
- Statement distribution message.
- The error result type of a
AvailabilityStoreMessage::StoreAvailableData
request.
Traits§
- Filter incoming and outgoing messages.
Type Aliases§
- A collection of ancestor candidates of a parachain.
- A response channel for the result of a chain API request.
- Specialized message type originating from the overseer.
- Indicates the relay-parents whose fragment chain a candidate is present in or can be added in (right now or in the future).
- A sender for the result of a runtime API request.