pub async fn build_relay_chain_interface(
relay_chain_config: Configuration,
parachain_config: &Configuration,
telemetry_worker_handle: Option<TelemetryWorkerHandle>,
task_manager: &mut TaskManager,
collator_options: CollatorOptions,
hwbench: Option<HwBench>,
) -> RelayChainResult<(Arc<dyn RelayChainInterface + 'static>, Option<CollatorPair>)>
Expand description
Build a relay chain interface.
Will return a minimal relay chain node with RPC
client or an inprocess node, based on the CollatorOptions
passed in.