mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 19:32:55 +00:00
Crate network_utils crate
This commit is contained in:
@@ -10,6 +10,7 @@ bytes = { workspace = true }
|
||||
clap = { workspace = true }
|
||||
clap_utils = { workspace = true }
|
||||
eth2_network_config = { workspace = true }
|
||||
network_utils = { workspace = true }
|
||||
ethereum_ssz = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
lighthouse_network = { workspace = true }
|
||||
|
||||
@@ -5,8 +5,9 @@ use eth2_network_config::Eth2NetworkConfig;
|
||||
use lighthouse_network::discv5::{self, enr::CombinedKey, Enr};
|
||||
use lighthouse_network::{
|
||||
discovery::{load_enr_from_disk, use_or_load_enr},
|
||||
load_private_key, CombinedKeyExt, NetworkConfig,
|
||||
load_private_key, NetworkConfig,
|
||||
};
|
||||
use network_utils::enr_ext::CombinedKeyExt;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use ssz::Encode;
|
||||
use std::net::{SocketAddrV4, SocketAddrV6};
|
||||
|
||||
@@ -6,8 +6,9 @@ use clap::ArgMatches;
|
||||
use eth2_network_config::Eth2NetworkConfig;
|
||||
use lighthouse_network::{
|
||||
discv5::{self, enr::NodeId, Discv5},
|
||||
EnrExt, Eth2Enr,
|
||||
Eth2Enr,
|
||||
};
|
||||
use network_utils::enr_ext::EnrExt;
|
||||
use tracing::{info, warn};
|
||||
use types::EthSpec;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user