Add an alternative to the swarm (#472)

* Rewrite the swarm

* Small improvement to Debug of ListenersStream

* Fix Swarm::Replaced never being produced

* Fix logic problem when reaching a node in swarm

* Small comment in swarm

* Add closed_multiaddr to Replaced event

* Add address to NodeClosed and NodeError

* Fix concerns

* Remove StreamMuxer::boxed
This commit is contained in:
Pierre Krieger
2018-09-14 13:18:10 +02:00
committed by GitHub
parent 0614b0d44e
commit 063ab178a9
12 changed files with 2603 additions and 2 deletions

View File

@ -219,7 +219,9 @@ extern crate protobuf;
extern crate quick_error;
extern crate rw_stream_sink;
extern crate smallvec;
extern crate tokio_executor;
extern crate tokio_io;
extern crate void;
#[cfg(test)]
extern crate rand;
@ -243,6 +245,7 @@ mod unique;
pub mod either;
pub mod muxing;
pub mod nodes;
pub mod swarm;
pub mod transport;
pub mod upgrade;