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

@ -31,13 +31,12 @@ extern crate tokio_codec;
extern crate tokio_io;
extern crate unsigned_varint;
mod handler;
pub mod handler;
pub mod protocol;
mod layer;
mod protocol;
mod rpc_proto;
mod topic;
pub use self::handler::FloodsubHandler;
pub use self::layer::FloodsubBehaviour;
pub use self::protocol::*; // TODO: exact reexports
pub use self::layer::Floodsub;
pub use self::topic::{Topic, TopicBuilder, TopicHash};