Function mangata_node::service::start_node_impl
source · async fn start_node_impl<RuntimeApi>(
parachain_config: Configuration,
polkadot_config: Configuration,
collator_options: CollatorOptions,
para_id: ParaId,
hwbench: Option<HwBench>
) -> Result<(TaskManager, Arc<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>)>where
RuntimeApi: ConstructRuntimeApi<Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>> + Send + Sync + 'static,
RuntimeApi::RuntimeApi: RuntimeApiCollection,
Expand description
Start a node with the given parachain Configuration
and relay chain Configuration
.
This is the actual implementation that is abstract over the executor and the runtime api.