Function sc_service::build_network_advanced
source · pub fn build_network_advanced<Block, Net, TxPool, IQ, Client>(
params: BuildNetworkAdvancedParams<'_, Block, Net, TxPool, IQ, Client>,
) -> Result<(Arc<dyn NetworkService>, TracingUnboundedSender<Request<Block>>, TransactionsHandlerController<<Block as BlockT>::Hash>, Arc<SyncingService<Block>>), Error>where
Block: BlockT,
Client: ProvideRuntimeApi<Block> + HeaderMetadata<Block, Error = Error> + Chain<Block> + BlockBackend<Block> + BlockIdTo<Block, Error = Error> + ProofProvider<Block> + HeaderBackend<Block> + BlockchainEvents<Block> + 'static,
TxPool: TransactionPool<Block = Block, Hash = <Block as BlockT>::Hash> + 'static,
IQ: ImportQueue<Block> + 'static,
Net: NetworkBackend<Block, <Block as BlockT>::Hash>,
Expand description
Build the network service, the network status sinks and an RPC sender, this is a lower-level
version of build_network
for those needing more control.