Function build_network

Source
pub async fn build_network<Block, Client, Pool>(
    client: Arc<Client>,
    config: Config,
    import_queue: BlockImportQueue,
    tx_pool: Arc<Pool>,
    task_manager: &TaskManager,
    registry: Option<Registry>,
    substrate_sync_service: Option<Arc<SyncingService<Block>>>,
) -> Result<NetworkHandle, Error>
where Block: BlockT, Client: HeaderBackend<Block> + AuxStore + 'static, Pool: TxPool + 'static,
Expand description

Creates Subcoin network.