Function subcoin_network::build_network
source ยท pub async fn build_network<Block, Client>(
client: Arc<Client>,
config: Config,
import_queue: BlockImportQueue,
task_manager: &TaskManager,
registry: Option<Registry>,
substrate_sync_service: Option<Arc<SyncingService<Block>>>,
) -> Result<NetworkHandle, Error>where
Block: BlockT,
Client: HeaderBackend<Block> + AuxStore + 'static,
Expand description
Creates Subcoin network.