Re-enable networking on wasm (#4880)

* Use noise and timeouts on wasm

* Don't use wasm-opt when compiling to wasm

* Forgot lockfile

* Add node about disabling wasm-opt

* Enable timeouts in telemetry on wasm
This commit is contained in:
Ashley
2020-02-18 16:18:32 +01:00
committed by GitHub
parent aa4123039f
commit 133a4f967f
4 changed files with 13 additions and 26 deletions
@@ -63,10 +63,11 @@ use std::{
iter,
io,
sync::Arc,
time::{Duration, Instant},
time::Duration,
task::{Context, Poll}
};
use void::Void;
use wasm_timer::Instant;
/// Configuration options for `LightClientHandler` behaviour.
#[derive(Debug, Clone)]