From 3224837523dddadf86f4d2f27869e5b0b4fda789 Mon Sep 17 00:00:00 2001 From: Delweng Date: Tue, 23 Apr 2024 19:18:32 +0800 Subject: [PATCH] fix(args/txpool): duplicate arg of txpool.max-account-slots (#7806) Signed-off-by: jsvisa --- book/cli/reth/node.md | 6 +++--- crates/node-core/src/args/txpool_args.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/cli/reth/node.md b/book/cli/reth/node.md index dbfe7b1d4..450180c84 100644 --- a/book/cli/reth/node.md +++ b/book/cli/reth/node.md @@ -349,7 +349,7 @@ TxPool: [default: 20] - --txpool.max_account_slots + --txpool.max-account-slots Max number of executable transaction slots guaranteed per account [default: 16] @@ -387,7 +387,7 @@ Builder: --builder.extradata Block extra data set by the payload builder - [default: reth/v0.2.0-beta.5/linux] + [default: reth//] --builder.gaslimit Target gas ceiling for built blocks @@ -517,7 +517,7 @@ Logging: --log.file.directory The path to put log files in - [default: /root/.cache/reth/logs] + [default: /logs] --log.file.max-size The maximum size (in MB) of one log file diff --git a/crates/node-core/src/args/txpool_args.rs b/crates/node-core/src/args/txpool_args.rs index db9e43d82..12fc6bd79 100644 --- a/crates/node-core/src/args/txpool_args.rs +++ b/crates/node-core/src/args/txpool_args.rs @@ -35,7 +35,7 @@ pub struct TxPoolArgs { pub queued_max_size: usize, /// Max number of executable transaction slots guaranteed per account - #[arg(long = "txpool.max-account-slots", long = "txpool.max_account_slots", default_value_t = TXPOOL_MAX_ACCOUNT_SLOTS_PER_SENDER)] + #[arg(long = "txpool.max-account-slots", alias = "txpool.max_account_slots", default_value_t = TXPOOL_MAX_ACCOUNT_SLOTS_PER_SENDER)] pub max_account_slots: usize, /// Price bump (in %) for the transaction pool underpriced check.