Remove the multiplexed networking system (#2373)

* Remove the multiplexed networking system

* Rename BackCompat to Normal

* Remove CustomMessageId

* Fix tests
This commit is contained in:
Pierre Krieger
2019-04-25 11:39:57 +02:00
committed by Bastian Köcher
parent 0f02bed702
commit f3df7250e9
6 changed files with 36 additions and 428 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
//! Networking layer of Substrate.
//!
//!
//! **Important**: This crate is unstable and the API and usage may change.
//!
@@ -27,7 +27,7 @@ mod transport;
pub use crate::behaviour::Severity;
pub use crate::config::*;
pub use crate::custom_proto::{CustomMessage, CustomMessageId, RegisteredProtocol};
pub use crate::custom_proto::{CustomMessage, RegisteredProtocol};
pub use crate::config::{NetworkConfiguration, NodeKeyConfig, Secret, NonReservedPeerMode};
pub use crate::service_task::{start_service, Service, ServiceEvent};
pub use libp2p::{Multiaddr, multiaddr, build_multiaddr};