referrerpolicy=no-referrer-when-downgrade

Crate polkadot_node_core_approval_voting_parallel

Source
Expand description

The Approval Voting Parallel Subsystem.

This subsystem is responsible for orchestrating the work done by approval-voting and approval-distribution subsystem, so they can do their work in parallel, rather than serially, when they are run as independent subsystems.

Re-exports§

pub use metrics::Metrics;

Modules§

metrics
The Metrics for Approval Voting Parallel Subsystem.

Structs§

ApprovalVotingParallelSubsystem
The approval voting parallel subsystem.
ApprovalVotingToApprovalDistribution
Just a wrapper for implementing overseer::SubsystemSender<ApprovalDistributionMessage>, so that we can inject into the approval voting subsystem.
RxWorker
Handles that are used by an worker to receive work.
ToWorker
Just a wrapper for implementing overseer::SubsystemSender<ApprovalVotingMessage> and overseer::SubsystemSender<ApprovalDistributionMessage>.
WorkProviderImpl

Constants§

APPROVAL_DISTRIBUTION_WORKER_COUNT
The number of workers used for running the approval-distribution logic.
DEFAULT_WORKERS_CHANNEL_SIZE
The default channel size for the workers, can be overridden by the user through overseer_channel_capacity_override