mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(args/txpool): duplicate arg of txpool.max-account-slots (#7806)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
6
book/cli/reth/node.md
vendored
6
book/cli/reth/node.md
vendored
@ -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
|
||||||
|
|||||||
@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user