lighthouse-pulse/beacon_node/libp2p/src/lib.rs

20 lines
534 B
Rust
Raw Normal View History

/// This crate contains the main link for lighthouse to rust-libp2p. It therefore re-exports
/// all required libp2p functionality.
///
/// This crate builds and manages the libp2p services required by the beacon node.
2019-03-12 06:28:11 +00:00
pub mod behaviour;
pub mod error;
mod network_config;
2019-03-14 14:50:59 +00:00
mod rpc;
mod service;
pub use libp2p::{
gossipsub::{GossipsubConfig, GossipsubConfigBuilder},
PeerId,
};
pub use network_config::NetworkConfig;
2019-03-12 06:28:11 +00:00
pub use service::Libp2pEvent;
pub use service::Service;
pub use types::multiaddr;
pub use types::Multiaddr;