feat: tx forwarder

eth_sendRawTransaction will forward transactions into --upstream-rpc-url, if specified in cli args.
This commit is contained in:
sprites0
2025-07-01 02:31:29 +00:00
parent 4136d9d50a
commit 39ae8ae9f8
5 changed files with 72 additions and 5 deletions

View File

@ -31,6 +31,9 @@ use tracing::info;
pub struct HlNodeArgs {
#[command(flatten)]
pub block_source_args: BlockSourceArgs,
#[arg(long, env = "UPSTREAM_RPC_URL")]
pub upstream_rpc_url: Option<String>,
}
/// The main reth_hl cli interface.