fix(args/txpool): duplicate arg of txpool.max-account-slots (#7806)

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
Delweng
2024-04-23 19:18:32 +08:00
committed by GitHub
parent d1e38966a1
commit 3224837523
2 changed files with 4 additions and 4 deletions

View File

@ -349,7 +349,7 @@ TxPool:
[default: 20] [default: 20]
--txpool.max_account_slots <MAX_ACCOUNT_SLOTS> --txpool.max-account-slots <MAX_ACCOUNT_SLOTS>
Max number of executable transaction slots guaranteed per account Max number of executable transaction slots guaranteed per account
[default: 16] [default: 16]
@ -387,7 +387,7 @@ Builder:
--builder.extradata <EXTRADATA> --builder.extradata <EXTRADATA>
Block extra data set by the payload builder Block extra data set by the payload builder
[default: reth/v0.2.0-beta.5/linux] [default: reth/<VERSION>/<OS>]
--builder.gaslimit <GAS_LIMIT> --builder.gaslimit <GAS_LIMIT>
Target gas ceiling for built blocks Target gas ceiling for built blocks
@ -517,7 +517,7 @@ Logging:
--log.file.directory <PATH> --log.file.directory <PATH>
The path to put log files in The path to put log files in
[default: /root/.cache/reth/logs] [default: <CACHE_DIR>/logs]
--log.file.max-size <SIZE> --log.file.max-size <SIZE>
The maximum size (in MB) of one log file The maximum size (in MB) of one log file

View File

@ -35,7 +35,7 @@ pub struct TxPoolArgs {
pub queued_max_size: usize, pub queued_max_size: usize,
/// Max number of executable transaction slots guaranteed per account /// 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, pub max_account_slots: usize,
/// Price bump (in %) for the transaction pool underpriced check. /// Price bump (in %) for the transaction pool underpriced check.