mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
metrics(download): move header stage metrics to downloader (#1014)
This commit is contained in:
@ -20,7 +20,6 @@ use reth_network_api::NetworkInfo;
|
||||
use reth_primitives::{BlockNumber, ChainSpec, H256};
|
||||
use reth_staged_sync::{utils::init::init_genesis, Config};
|
||||
use reth_stages::{
|
||||
metrics::HeaderMetrics,
|
||||
stages::{
|
||||
bodies::BodyStage, execution::ExecutionStage, hashing_account::AccountHashingStage,
|
||||
hashing_storage::StorageHashingStage, headers::HeaderStage, merkle::MerkleStage,
|
||||
@ -173,7 +172,6 @@ impl Command {
|
||||
),
|
||||
consensus: consensus.clone(),
|
||||
sync_status_updates: network.clone(),
|
||||
metrics: HeaderMetrics::default(),
|
||||
})
|
||||
.push(TotalDifficultyStage {
|
||||
commit_threshold: config.stages.total_difficulty.commit_threshold,
|
||||
|
||||
Reference in New Issue
Block a user