2019-03-04 05:39:37 +00:00
|
|
|
/// 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-06 12:31:08 +00:00
|
|
|
mod network_config;
|
2019-03-04 07:31:01 +00:00
|
|
|
mod service;
|
2019-03-04 05:39:37 +00:00
|
|
|
|
2019-03-04 07:31:01 +00:00
|
|
|
pub use libp2p::{
|
|
|
|
gossipsub::{GossipsubConfig, GossipsubConfigBuilder},
|
|
|
|
PeerId,
|
|
|
|
};
|
2019-03-06 12:31:08 +00:00
|
|
|
pub use network_config::NetworkConfig;
|
2019-03-04 07:31:01 +00:00
|
|
|
pub use service::Service;
|