mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 04:01:51 +00:00
## Issue Addressed Resolves #2278 ## Proposed Changes Implements the networking components for the Altair hard fork https://github.com/ethereum/eth2.0-specs/blob/dev/specs/altair/p2p-interface.md ## Additional Info This PR acts as the base branch for networking changes and tracks https://github.com/sigp/lighthouse/pull/2279 . Changes to gossip, rpc and discovery can be separate PRs to be merged here for ease of review. Co-authored-by: realbigsean <seananderson33@gmail.com>
22 lines
610 B
Rust
22 lines
610 B
Rust
#[macro_use]
|
|
extern crate lazy_static;
|
|
|
|
/// This crate provides the network server for Lighthouse.
|
|
pub mod error;
|
|
#[allow(clippy::mutable_key_type)] // PeerId in hashmaps are no longer permitted by clippy
|
|
pub mod service;
|
|
|
|
mod beacon_processor;
|
|
#[allow(clippy::mutable_key_type)] // PeerId in hashmaps are no longer permitted by clippy
|
|
mod metrics;
|
|
mod nat;
|
|
mod persisted_dht;
|
|
mod router;
|
|
mod status;
|
|
mod subnet_service;
|
|
#[allow(clippy::mutable_key_type)] // PeerId in hashmaps are no longer permitted by clippy
|
|
mod sync;
|
|
|
|
pub use eth2_libp2p::NetworkConfig;
|
|
pub use service::{NetworkMessage, NetworkService};
|