Move connection_filter to the network crate (#8674)

This commit is contained in:
Pierre Krieger
2018-05-22 06:34:01 +02:00
committed by Marek Kotewicz
parent 84ecab0eaf
commit ee41fa6f30
10 changed files with 15 additions and 10 deletions

View File

@@ -19,9 +19,10 @@ use std::collections::{HashMap, BTreeMap};
use std::io;
use std::time::Duration;
use bytes::Bytes;
use devp2p::{NetworkService, ConnectionFilter};
use devp2p::NetworkService;
use network::{NetworkProtocolHandler, NetworkContext, HostInfo, PeerId, ProtocolId,
NetworkConfiguration as BasicNetworkConfiguration, NonReservedPeerMode, Error, ErrorKind};
NetworkConfiguration as BasicNetworkConfiguration, NonReservedPeerMode, Error, ErrorKind,
ConnectionFilter};
use ethereum_types::{H256, H512, U256};
use io::{TimerToken};
use ethcore::ethstore::ethkey::Secret;