mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-01 20:04:41 +00:00
[Temp Commit] Implements more basic skeleton code.
This commit is contained in:
7
beacon_node/libp2p/Cargo.toml
Normal file
7
beacon_node/libp2p/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "libp2p"
|
||||
version = "0.1.0"
|
||||
authors = ["Age Manning <Age@AgeManning.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
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