Basic networking service with channel

This commit is contained in:
Age Manning
2019-03-12 17:28:11 +11:00
parent 21032334ac
commit ae983a9347
13 changed files with 224 additions and 29 deletions

View File

@@ -2,7 +2,8 @@
/// all required libp2p functionality.
///
/// This crate builds and manages the libp2p services required by the beacon node.
mod behaviour;
pub mod behaviour;
pub mod error;
mod network_config;
mod service;
@@ -11,6 +12,7 @@ pub use libp2p::{
PeerId,
};
pub use network_config::NetworkConfig;
pub use service::Libp2pEvent;
pub use service::Service;
pub use types::multiaddr;
pub use types::Multiaddr;