pub async fn build_network<'a, Block, Client, RCInterface, IQ, Network>(
__arg0: BuildNetworkParams<'a, Block, Client, Network, RCInterface, IQ>,
) -> Result<(Arc<dyn NetworkService>, TracingUnboundedSender<Request<Block>>, TransactionsHandlerController<Block::Hash>, Arc<SyncingService<Block>>, Option<BitswapHandle>)>where
Block: BlockT,
Client: ProvideRuntimeApi<Block> + HeaderMetadata<Block, Error = Error> + Chain<Block> + BlockBackend<Block> + ProofProvider<Block> + HeaderBackend<Block> + BlockchainEvents<Block> + 'static,
RCInterface: RelayChainInterface + Clone + 'static,
IQ: ImportQueue<Block> + 'static,
Network: NetworkBackend<Block, <Block as BlockT>::Hash>,Expand description
Build the network service, the network status sinks and an RPC sender.