mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
refactor: extract init from node-core (#8373)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -16,6 +16,7 @@ workspace = true
|
||||
reth-auto-seal-consensus.workspace = true
|
||||
reth-beacon-consensus.workspace = true
|
||||
reth-blockchain-tree.workspace = true
|
||||
reth-db-common.workspace = true
|
||||
reth-exex.workspace = true
|
||||
reth-evm.workspace = true
|
||||
reth-provider.workspace = true
|
||||
|
||||
@@ -9,11 +9,11 @@ use tokio::sync::mpsc::Receiver;
|
||||
use reth_auto_seal_consensus::MiningMode;
|
||||
use reth_config::{config::EtlConfig, PruneConfig};
|
||||
use reth_db::{database::Database, database_metrics::DatabaseMetrics};
|
||||
use reth_db_common::init::{init_genesis, InitDatabaseError};
|
||||
use reth_interfaces::p2p::headers::client::HeadersClient;
|
||||
use reth_node_core::{
|
||||
cli::config::RethRpcConfig,
|
||||
dirs::{ChainPath, DataDirPath},
|
||||
init::{init_genesis, InitDatabaseError},
|
||||
node_config::NodeConfig,
|
||||
};
|
||||
use reth_primitives::{BlockNumber, Chain, ChainSpec, Head, PruneModes, B256};
|
||||
|
||||
Reference in New Issue
Block a user