mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 17:51:35 +00:00
protocols/gossipsub: Revert back to wasm_timer for interval (#2506)
Removed the custom interval implementation and removes support for wasm32-unknown-unknown. See https://github.com/libp2p/rust-libp2p/issues/2497 for details. Co-authored-by: Diva M <divma@protonmail.com> Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@ -24,12 +24,12 @@
|
||||
use crate::metrics::{Metrics, Penalty};
|
||||
use crate::time_cache::TimeCache;
|
||||
use crate::{MessageId, TopicHash};
|
||||
use instant::Instant;
|
||||
use libp2p_core::PeerId;
|
||||
use log::{debug, trace, warn};
|
||||
use std::collections::{hash_map, HashMap, HashSet};
|
||||
use std::net::IpAddr;
|
||||
use std::time::Duration;
|
||||
use wasm_timer::Instant;
|
||||
|
||||
mod params;
|
||||
use crate::error::ValidationError;
|
||||
|
Reference in New Issue
Block a user