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-12 06:28:11 +00:00
|
|
|
pub mod behaviour;
|
2019-03-21 01:41:05 +00:00
|
|
|
mod config;
|
2019-03-12 06:28:11 +00:00
|
|
|
pub mod error;
|
2019-03-17 10:49:56 +00:00
|
|
|
pub mod rpc;
|
2019-03-04 07:31:01 +00:00
|
|
|
mod service;
|
2019-03-04 05:39:37 +00:00
|
|
|
|
2019-03-25 12:02:51 +00:00
|
|
|
pub use behaviour::PubsubMessage;
|
2019-03-21 01:41:05 +00:00
|
|
|
pub use config::Config as NetworkConfig;
|
2019-03-04 07:31:01 +00:00
|
|
|
pub use libp2p::{
|
|
|
|
gossipsub::{GossipsubConfig, GossipsubConfigBuilder},
|
|
|
|
PeerId,
|
|
|
|
};
|
2019-03-25 12:02:51 +00:00
|
|
|
pub use rpc::RPCEvent;
|
2019-03-12 06:28:11 +00:00
|
|
|
pub use service::Libp2pEvent;
|
2019-03-04 07:31:01 +00:00
|
|
|
pub use service::Service;
|
2019-03-08 01:15:57 +00:00
|
|
|
pub use types::multiaddr;
|
|
|
|
pub use types::Multiaddr;
|