Function polkadot_service::new_full

source ·
pub fn new_full<RuntimeApi, ExecutorDispatch, OverseerGenerator>(
    config: Configuration,
    is_collator: IsCollator,
    grandpa_pause: Option<(u32, u32)>,
    enable_beefy: bool,
    jaeger_agent: Option<SocketAddr>,
    telemetry_worker_handle: Option<TelemetryWorkerHandle>,
    program_path: Option<PathBuf>,
    overseer_enable_anyways: bool,
    overseer_gen: OverseerGenerator,
    overseer_message_channel_capacity_override: Option<usize>,
    _malus_finality_delay: Option<u32>,
    hwbench: Option<HwBench>
) -> Result<NewFull<Arc<FullClient<RuntimeApi, ExecutorDispatch>>>, Error>where
    RuntimeApi: ConstructRuntimeApi<Block, FullClient<RuntimeApi, ExecutorDispatch>> + Send + Sync + 'static,
    RuntimeApi::RuntimeApi: RuntimeApiCollection<StateBackend = StateBackendFor<FullBackend, Block>>,
    ExecutorDispatch: NativeExecutionDispatch + 'static,
    OverseerGenerator: OverseerGen,
Expand description

Create a new full node of arbitrary runtime and executor.

This is an advanced feature and not recommended for general use. Generally, build_full is a better choice.

overseer_enable_anyways always enables the overseer, based on the provided OverseerGenerator, regardless of the role the node has. The relay chain selection (longest or disputes-aware) is still determined based on the role of the node. Likewise for authority discovery.