feat: move RethRpcConfig to rpc-builder (#8684)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Aurélien
2024-06-11 00:08:51 +02:00
committed by GitHub
parent 7eec20d56d
commit 08cb775455
21 changed files with 755 additions and 738 deletions

View File

@@ -3,18 +3,13 @@
use futures::TryFutureExt;
use reth_network::NetworkHandle;
use reth_node_api::FullNodeComponents;
use reth_node_core::{
cli::config::RethRpcConfig,
node_config::NodeConfig,
rpc::{
api::EngineApiServer,
builder::{
auth::{AuthRpcModule, AuthServerHandle},
RethModuleRegistry, RpcModuleBuilder, RpcServerHandle, TransportRpcModules,
},
},
};
use reth_node_core::{node_config::NodeConfig, rpc::api::EngineApiServer};
use reth_payload_builder::PayloadBuilderHandle;
use reth_rpc_builder::{
auth::{AuthRpcModule, AuthServerHandle},
config::RethRpcServerConfig,
RethModuleRegistry, RpcModuleBuilder, RpcServerHandle, TransportRpcModules,
};
use reth_rpc_layer::JwtSecret;
use reth_tasks::TaskExecutor;
use reth_tracing::tracing::{debug, info};