Skip to main content

run_p2p_network

Function run_p2p_network 

Source
async fn run_p2p_network(
    chain_spec: Arc<TempoChainSpec>,
    cfg: NetConfig,
    fetch_tx: Sender<FetchRequest>,
    secret_key: SecretKey,
) -> Result<()>
Expand description

Launch the P2P network and handle incoming eth requests.