Some minor TODOs removal (#1102)

* Only reconnect if topology changed

* Minor changes
This commit is contained in:
Pierre Krieger
2018-11-12 17:54:57 +01:00
committed by Bastian Köcher
parent 37e3fc37d7
commit b76ba06472
4 changed files with 33 additions and 11 deletions
+3 -3
View File
@@ -18,8 +18,7 @@
//! TODO: Missing doc
// end::description[]
#![recursion_limit="128"]
#![type_length_limit = "268435456"]
#![recursion_limit = "128"]
extern crate parking_lot;
extern crate fnv;
@@ -58,7 +57,8 @@ pub use custom_proto::RegisteredProtocol;
pub use error::{Error, ErrorKind, DisconnectReason};
pub use libp2p::{Multiaddr, multiaddr::Protocol, PeerId};
pub use service_task::{start_service, Service, ServiceEvent};
pub use traits::*; // TODO: expand to actual items
pub use traits::{NetworkConfiguration, NodeIndex, NodeId, NonReservedPeerMode};
pub use traits::{ProtocolId, Secret, Severity};
/// Check if node url is valid
pub fn validate_node_url(url: &str) -> Result<(), Error> {