mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-22 07:18:25 +00:00
[Temp Commit] Implements more basic skeleton code.
This commit is contained in:
11
beacon_node/libp2p/src/lib.rs
Normal file
11
beacon_node/libp2p/src/lib.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
/// 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.
|
||||
extern crate libp2p;
|
||||
|
||||
mod libp2p_service;
|
||||
|
||||
pub use libp2p::{GossipsubConfig, PeerId};
|
||||
|
||||
pub use libp2p_service::LibP2PService;
|
||||
0
beacon_node/libp2p/src/service.rs
Normal file
0
beacon_node/libp2p/src/service.rs
Normal file
Reference in New Issue
Block a user