mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: split consensus crate (#1814)
This commit is contained in:
@ -9,22 +9,22 @@ readme = "README.md"
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives = { path = "../../crates/primitives", features = ["arbitrary"] }
|
||||
reth-db = {path = "../../crates/storage/db", features = ["mdbx", "test-utils"] }
|
||||
reth-db = { path = "../../crates/storage/db", features = ["mdbx", "test-utils"] }
|
||||
# TODO: Temporary use of the test-utils feature
|
||||
reth-provider = { path = "../../crates/storage/provider", features = ["test-utils"] }
|
||||
reth-staged-sync = { path = "../../crates/staged-sync" }
|
||||
reth-stages = { path = "../../crates/stages"}
|
||||
reth-interfaces = { path = "../../crates/interfaces", features = ["test-utils"] }
|
||||
reth-transaction-pool = { path = "../../crates/transaction-pool", features = ["test-utils"] }
|
||||
reth-consensus = { path = "../../crates/consensus" }
|
||||
reth-beacon-consensus = { path = "../../crates/consensus/beacon" }
|
||||
reth-executor = { path = "../../crates/executor" }
|
||||
reth-rpc-engine-api = { path = "../../crates/rpc/rpc-engine-api" }
|
||||
reth-rpc-builder = { path = "../../crates/rpc/rpc-builder" }
|
||||
reth-rpc = { path = "../../crates/rpc/rpc" }
|
||||
reth-rlp = { path = "../../crates/rlp" }
|
||||
reth-network = {path = "../../crates/net/network", features = ["serde"] }
|
||||
reth-network-api = {path = "../../crates/net/network-api" }
|
||||
reth-downloaders = {path = "../../crates/net/downloaders", features = ["test-utils"] }
|
||||
reth-network = { path = "../../crates/net/network", features = ["serde"] }
|
||||
reth-network-api = { path = "../../crates/net/network-api" }
|
||||
reth-downloaders = { path = "../../crates/net/downloaders", features = ["test-utils"] }
|
||||
reth-tracing = { path = "../../crates/tracing" }
|
||||
reth-tasks = { path = "../../crates/tasks" }
|
||||
reth-net-nat = { path = "../../crates/net/nat" }
|
||||
|
||||
@ -5,7 +5,7 @@ use crate::{
|
||||
use clap::{crate_version, Parser};
|
||||
use eyre::Context;
|
||||
use futures::{Stream, StreamExt};
|
||||
use reth_consensus::beacon::BeaconConsensus;
|
||||
use reth_beacon_consensus::BeaconConsensus;
|
||||
use reth_db::mdbx::{Env, WriteMap};
|
||||
use reth_downloaders::{
|
||||
bodies::bodies::BodiesDownloaderBuilder,
|
||||
|
||||
@ -13,7 +13,7 @@ use events::NodeEvent;
|
||||
use eyre::Context;
|
||||
use fdlimit::raise_fd_limit;
|
||||
use futures::{pin_mut, stream::select as stream_select, Stream, StreamExt};
|
||||
use reth_consensus::beacon::BeaconConsensus;
|
||||
use reth_beacon_consensus::BeaconConsensus;
|
||||
use reth_db::{
|
||||
database::Database,
|
||||
mdbx::{Env, WriteMap},
|
||||
|
||||
@ -7,7 +7,7 @@ use crate::{
|
||||
prometheus_exporter,
|
||||
};
|
||||
use clap::{Parser, ValueEnum};
|
||||
use reth_consensus::beacon::BeaconConsensus;
|
||||
use reth_beacon_consensus::BeaconConsensus;
|
||||
use reth_downloaders::bodies::bodies::BodiesDownloaderBuilder;
|
||||
use reth_primitives::ChainSpec;
|
||||
use reth_provider::{ShareableDatabase, Transaction};
|
||||
|
||||
Reference in New Issue
Block a user