Rename all the network behaviours to more basic names (#726)

* Rename FloodsubBehaviour to Floodsub

* Rename Ping behaviours

* Rename identify
This commit is contained in:
Pierre Krieger
2018-12-05 17:04:25 +01:00
committed by GitHub
parent 4140047f34
commit 9102266d70
13 changed files with 50 additions and 54 deletions

View File

@ -256,13 +256,13 @@ mod tests {
extern crate libp2p_tcp_transport;
extern crate tokio;
use crate::protocol::{IdentifyInfo, RemoteInfo, IdentifyProtocolConfig};
use self::tokio::runtime::current_thread::Runtime;
use self::libp2p_tcp_transport::TcpConfig;
use futures::{Future, Stream};
use libp2p_core::{PublicKey, Transport, upgrade::{apply_outbound, apply_inbound}};
use std::sync::mpsc;
use std::thread;
use {IdentifyInfo, RemoteInfo, IdentifyProtocolConfig};
#[test]
fn correct_transfer() {