Switch the peerset to new futures (#3108)

* Switch the peerset to new futures

* Fuse the peerset rx
This commit is contained in:
Pierre Krieger authored and Gavin Wood committed 2019-07-13 10:55:01 +02:00
1 parent c42d73d302
commit 7ae6556a02
6 files changed
+56 -46

No files matched your search

-1
View File
@@ -30,7 +30,6 @@ use std::net::SocketAddr;
use std::collections::HashMap;
use std::time::Duration;
use futures::sync::mpsc;
use futures03::{StreamExt as _, TryStreamExt as _};
use parking_lot::Mutex;
use client::{BlockchainEvents, backend::Backend, runtime_api::BlockT};