Function polkadot_service::overseer::validator_overseer_builder
source · pub fn validator_overseer_builder<Spawner, RuntimeClient>(
_: OverseerGenArgs<'_, Spawner, RuntimeClient>,
_: ExtendedOverseerGenArgs,
) -> Result<InitializedOverseerBuilder<SpawnGlue<Spawner>, Arc<RuntimeClient>, CandidateValidationSubsystem, PvfCheckerSubsystem, CandidateBackingSubsystem, StatementDistributionSubsystem<StdRng>, AvailabilityDistributionSubsystem, AvailabilityRecoverySubsystem, BitfieldSigningSubsystem, BitfieldDistributionSubsystem, ProvisionerSubsystem, RuntimeApiSubsystem<RuntimeClient>, AvailabilityStoreSubsystem, NetworkBridgeRxSubsystem<Arc<dyn NetworkService>, Service>, NetworkBridgeTxSubsystem<Arc<dyn NetworkService>, Service>, ChainApiSubsystem<RuntimeClient>, DummySubsystem, CollatorProtocolSubsystem, ApprovalDistributionSubsystem, ApprovalVotingSubsystem, DummySubsystem, GossipSupportSubsystem<Service>, DisputeCoordinatorSubsystem, DisputeDistributionSubsystem<Service>, ChainSelectionSubsystem, ProspectiveParachainsSubsystem>, Error>where
RuntimeClient: RuntimeApiSubsystemClient + ChainApiBackend + AuxStore + 'static,
Spawner: 'static + SpawnNamed + Clone + Unpin,
Expand description
Obtain a prepared validator Overseer
, that is initialized with all default values.
The difference between this function and validator_with_parallel_overseer_builder
is that this
function enables the standalone approval-voting and approval-distribution subsystems
and disables the approval-voting-parallel subsystem.