Floodsub chat example (#641)

* Add a floodsub example with the new Swarm

* WIP fixes for Floodsub chat-example code

* cleanup

* Address grumbles

* Update docs

* Update to newest master
This commit is contained in:
David
2018-11-20 10:35:22 +01:00
committed by Pierre Krieger
parent afa54085d5
commit 080a75451f
4 changed files with 127 additions and 3 deletions

View File

@ -216,6 +216,7 @@ pub mod upgrade;
pub use self::multiaddr::Multiaddr;
pub use self::muxing::StreamMuxer;
pub use self::nodes::Swarm;
pub use self::peer_id::PeerId;
pub use self::protocols_handler::{ProtocolsHandler, ProtocolsHandlerEvent};
pub use self::public_key::PublicKey;