6af3bc9ce2
This commit was modified by Paul H whilst rebasing master onto v0.3.0-staging Adding UPnP support will help grow the DHT by allowing NAT traversal for peers with UPnP supported routers. Using IGD library: https://docs.rs/igd/0.10.0/igd/ Adding the the libp2p tcp port and discovery udp port. If this fails it simply logs the attempt and moves on Co-authored-by: Age Manning <Age@AgeManning.com>
18 lines
330 B
Rust
18 lines
330 B
Rust
#[macro_use]
|
|
extern crate lazy_static;
|
|
|
|
/// This crate provides the network server for Lighthouse.
|
|
pub mod error;
|
|
pub mod service;
|
|
|
|
mod attestation_service;
|
|
mod beacon_processor;
|
|
mod metrics;
|
|
mod nat;
|
|
mod persisted_dht;
|
|
mod router;
|
|
mod sync;
|
|
|
|
pub use eth2_libp2p::NetworkConfig;
|
|
pub use service::{NetworkMessage, NetworkService};
|