From f032e56bdc7d90ba492e3e91d0045f422af2d285 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 29 Jun 2024 11:49:18 +0200 Subject: [PATCH] chore: finally move node-core to node folder --- Cargo.toml | 4 ++-- crates/{node-core => node/core}/Cargo.toml | 0 crates/{node-core => node/core}/build.rs | 0 crates/{node-core => node/core}/src/args/benchmark_args.rs | 0 crates/{node-core => node/core}/src/args/database.rs | 0 crates/{node-core => node/core}/src/args/datadir_args.rs | 0 crates/{node-core => node/core}/src/args/debug.rs | 0 crates/{node-core => node/core}/src/args/dev.rs | 0 crates/{node-core => node/core}/src/args/gas_price_oracle.rs | 0 crates/{node-core => node/core}/src/args/log.rs | 0 crates/{node-core => node/core}/src/args/mod.rs | 0 crates/{node-core => node/core}/src/args/network.rs | 0 crates/{node-core => node/core}/src/args/payload_builder.rs | 0 crates/{node-core => node/core}/src/args/pruning.rs | 0 crates/{node-core => node/core}/src/args/rpc_server.rs | 0 crates/{node-core => node/core}/src/args/rpc_state_cache.rs | 0 crates/{node-core => node/core}/src/args/secret_key.rs | 0 crates/{node-core => node/core}/src/args/stage.rs | 0 crates/{node-core => node/core}/src/args/txpool.rs | 0 crates/{node-core => node/core}/src/args/types.rs | 0 crates/{node-core => node/core}/src/args/utils.rs | 0 crates/{node-core => node/core}/src/cli/config.rs | 0 crates/{node-core => node/core}/src/cli/mod.rs | 0 crates/{node-core => node/core}/src/dirs.rs | 0 crates/{node-core => node/core}/src/exit.rs | 0 crates/{node-core => node/core}/src/lib.rs | 0 crates/{node-core => node/core}/src/metrics/mod.rs | 0 .../core}/src/metrics/prometheus_exporter.rs | 0 .../{node-core => node/core}/src/metrics/version_metrics.rs | 0 crates/{node-core => node/core}/src/node_config.rs | 0 crates/{node-core => node/core}/src/utils.rs | 0 crates/{node-core => node/core}/src/version.rs | 0 32 files changed, 2 insertions(+), 2 deletions(-) rename crates/{node-core => node/core}/Cargo.toml (100%) rename crates/{node-core => node/core}/build.rs (100%) rename crates/{node-core => node/core}/src/args/benchmark_args.rs (100%) rename crates/{node-core => node/core}/src/args/database.rs (100%) rename crates/{node-core => node/core}/src/args/datadir_args.rs (100%) rename crates/{node-core => node/core}/src/args/debug.rs (100%) rename crates/{node-core => node/core}/src/args/dev.rs (100%) rename crates/{node-core => node/core}/src/args/gas_price_oracle.rs (100%) rename crates/{node-core => node/core}/src/args/log.rs (100%) rename crates/{node-core => node/core}/src/args/mod.rs (100%) rename crates/{node-core => node/core}/src/args/network.rs (100%) rename crates/{node-core => node/core}/src/args/payload_builder.rs (100%) rename crates/{node-core => node/core}/src/args/pruning.rs (100%) rename crates/{node-core => node/core}/src/args/rpc_server.rs (100%) rename crates/{node-core => node/core}/src/args/rpc_state_cache.rs (100%) rename crates/{node-core => node/core}/src/args/secret_key.rs (100%) rename crates/{node-core => node/core}/src/args/stage.rs (100%) rename crates/{node-core => node/core}/src/args/txpool.rs (100%) rename crates/{node-core => node/core}/src/args/types.rs (100%) rename crates/{node-core => node/core}/src/args/utils.rs (100%) rename crates/{node-core => node/core}/src/cli/config.rs (100%) rename crates/{node-core => node/core}/src/cli/mod.rs (100%) rename crates/{node-core => node/core}/src/dirs.rs (100%) rename crates/{node-core => node/core}/src/exit.rs (100%) rename crates/{node-core => node/core}/src/lib.rs (100%) rename crates/{node-core => node/core}/src/metrics/mod.rs (100%) rename crates/{node-core => node/core}/src/metrics/prometheus_exporter.rs (100%) rename crates/{node-core => node/core}/src/metrics/version_metrics.rs (100%) rename crates/{node-core => node/core}/src/node_config.rs (100%) rename crates/{node-core => node/core}/src/utils.rs (100%) rename crates/{node-core => node/core}/src/version.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 32360341f024..4c7f2ad92e9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ members = [ "crates/net/network/", "crates/net/p2p/", "crates/net/peers/", - "crates/node-core/", + "crates/node/core/", "crates/node/api/", "crates/node/builder/", "crates/node/events/", @@ -320,7 +320,7 @@ reth-network-p2p = { path = "crates/net/p2p" } reth-nippy-jar = { path = "crates/storage/nippy-jar" } reth-node-api = { path = "crates/node/api" } reth-node-builder = { path = "crates/node/builder" } -reth-node-core = { path = "crates/node-core" } +reth-node-core = { path = "crates/node/core" } reth-node-ethereum = { path = "crates/ethereum/node" } reth-node-events = { path = "crates/node/events" } reth-node-optimism = { path = "crates/optimism/node" } diff --git a/crates/node-core/Cargo.toml b/crates/node/core/Cargo.toml similarity index 100% rename from crates/node-core/Cargo.toml rename to crates/node/core/Cargo.toml diff --git a/crates/node-core/build.rs b/crates/node/core/build.rs similarity index 100% rename from crates/node-core/build.rs rename to crates/node/core/build.rs diff --git a/crates/node-core/src/args/benchmark_args.rs b/crates/node/core/src/args/benchmark_args.rs similarity index 100% rename from crates/node-core/src/args/benchmark_args.rs rename to crates/node/core/src/args/benchmark_args.rs diff --git a/crates/node-core/src/args/database.rs b/crates/node/core/src/args/database.rs similarity index 100% rename from crates/node-core/src/args/database.rs rename to crates/node/core/src/args/database.rs diff --git a/crates/node-core/src/args/datadir_args.rs b/crates/node/core/src/args/datadir_args.rs similarity index 100% rename from crates/node-core/src/args/datadir_args.rs rename to crates/node/core/src/args/datadir_args.rs diff --git a/crates/node-core/src/args/debug.rs b/crates/node/core/src/args/debug.rs similarity index 100% rename from crates/node-core/src/args/debug.rs rename to crates/node/core/src/args/debug.rs diff --git a/crates/node-core/src/args/dev.rs b/crates/node/core/src/args/dev.rs similarity index 100% rename from crates/node-core/src/args/dev.rs rename to crates/node/core/src/args/dev.rs diff --git a/crates/node-core/src/args/gas_price_oracle.rs b/crates/node/core/src/args/gas_price_oracle.rs similarity index 100% rename from crates/node-core/src/args/gas_price_oracle.rs rename to crates/node/core/src/args/gas_price_oracle.rs diff --git a/crates/node-core/src/args/log.rs b/crates/node/core/src/args/log.rs similarity index 100% rename from crates/node-core/src/args/log.rs rename to crates/node/core/src/args/log.rs diff --git a/crates/node-core/src/args/mod.rs b/crates/node/core/src/args/mod.rs similarity index 100% rename from crates/node-core/src/args/mod.rs rename to crates/node/core/src/args/mod.rs diff --git a/crates/node-core/src/args/network.rs b/crates/node/core/src/args/network.rs similarity index 100% rename from crates/node-core/src/args/network.rs rename to crates/node/core/src/args/network.rs diff --git a/crates/node-core/src/args/payload_builder.rs b/crates/node/core/src/args/payload_builder.rs similarity index 100% rename from crates/node-core/src/args/payload_builder.rs rename to crates/node/core/src/args/payload_builder.rs diff --git a/crates/node-core/src/args/pruning.rs b/crates/node/core/src/args/pruning.rs similarity index 100% rename from crates/node-core/src/args/pruning.rs rename to crates/node/core/src/args/pruning.rs diff --git a/crates/node-core/src/args/rpc_server.rs b/crates/node/core/src/args/rpc_server.rs similarity index 100% rename from crates/node-core/src/args/rpc_server.rs rename to crates/node/core/src/args/rpc_server.rs diff --git a/crates/node-core/src/args/rpc_state_cache.rs b/crates/node/core/src/args/rpc_state_cache.rs similarity index 100% rename from crates/node-core/src/args/rpc_state_cache.rs rename to crates/node/core/src/args/rpc_state_cache.rs diff --git a/crates/node-core/src/args/secret_key.rs b/crates/node/core/src/args/secret_key.rs similarity index 100% rename from crates/node-core/src/args/secret_key.rs rename to crates/node/core/src/args/secret_key.rs diff --git a/crates/node-core/src/args/stage.rs b/crates/node/core/src/args/stage.rs similarity index 100% rename from crates/node-core/src/args/stage.rs rename to crates/node/core/src/args/stage.rs diff --git a/crates/node-core/src/args/txpool.rs b/crates/node/core/src/args/txpool.rs similarity index 100% rename from crates/node-core/src/args/txpool.rs rename to crates/node/core/src/args/txpool.rs diff --git a/crates/node-core/src/args/types.rs b/crates/node/core/src/args/types.rs similarity index 100% rename from crates/node-core/src/args/types.rs rename to crates/node/core/src/args/types.rs diff --git a/crates/node-core/src/args/utils.rs b/crates/node/core/src/args/utils.rs similarity index 100% rename from crates/node-core/src/args/utils.rs rename to crates/node/core/src/args/utils.rs diff --git a/crates/node-core/src/cli/config.rs b/crates/node/core/src/cli/config.rs similarity index 100% rename from crates/node-core/src/cli/config.rs rename to crates/node/core/src/cli/config.rs diff --git a/crates/node-core/src/cli/mod.rs b/crates/node/core/src/cli/mod.rs similarity index 100% rename from crates/node-core/src/cli/mod.rs rename to crates/node/core/src/cli/mod.rs diff --git a/crates/node-core/src/dirs.rs b/crates/node/core/src/dirs.rs similarity index 100% rename from crates/node-core/src/dirs.rs rename to crates/node/core/src/dirs.rs diff --git a/crates/node-core/src/exit.rs b/crates/node/core/src/exit.rs similarity index 100% rename from crates/node-core/src/exit.rs rename to crates/node/core/src/exit.rs diff --git a/crates/node-core/src/lib.rs b/crates/node/core/src/lib.rs similarity index 100% rename from crates/node-core/src/lib.rs rename to crates/node/core/src/lib.rs diff --git a/crates/node-core/src/metrics/mod.rs b/crates/node/core/src/metrics/mod.rs similarity index 100% rename from crates/node-core/src/metrics/mod.rs rename to crates/node/core/src/metrics/mod.rs diff --git a/crates/node-core/src/metrics/prometheus_exporter.rs b/crates/node/core/src/metrics/prometheus_exporter.rs similarity index 100% rename from crates/node-core/src/metrics/prometheus_exporter.rs rename to crates/node/core/src/metrics/prometheus_exporter.rs diff --git a/crates/node-core/src/metrics/version_metrics.rs b/crates/node/core/src/metrics/version_metrics.rs similarity index 100% rename from crates/node-core/src/metrics/version_metrics.rs rename to crates/node/core/src/metrics/version_metrics.rs diff --git a/crates/node-core/src/node_config.rs b/crates/node/core/src/node_config.rs similarity index 100% rename from crates/node-core/src/node_config.rs rename to crates/node/core/src/node_config.rs diff --git a/crates/node-core/src/utils.rs b/crates/node/core/src/utils.rs similarity index 100% rename from crates/node-core/src/utils.rs rename to crates/node/core/src/utils.rs diff --git a/crates/node-core/src/version.rs b/crates/node/core/src/version.rs similarity index 100% rename from crates/node-core/src/version.rs rename to crates/node/core/src/version.rs