mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: move cli-only utils out of staged-sync (#2984)
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
//! P2P Debugging tool
|
||||
use crate::{
|
||||
args::{get_secret_key, DiscoveryArgs},
|
||||
args::{
|
||||
get_secret_key,
|
||||
utils::{chain_spec_value_parser, hash_or_num_value_parser},
|
||||
DiscoveryArgs,
|
||||
},
|
||||
dirs::{DataDirPath, MaybePlatformPath},
|
||||
utils::get_single_header,
|
||||
};
|
||||
@ -12,7 +16,6 @@ use reth_discv4::NatResolver;
|
||||
use reth_interfaces::p2p::bodies::client::BodiesClient;
|
||||
use reth_primitives::{BlockHashOrNumber, ChainSpec, NodeRecord};
|
||||
use reth_provider::ShareableDatabase;
|
||||
use reth_staged_sync::utils::{chainspec::chain_spec_value_parser, hash_or_num_value_parser};
|
||||
use std::{path::PathBuf, sync::Arc};
|
||||
|
||||
/// `reth p2p` command
|
||||
|
||||
Reference in New Issue
Block a user