From e4f34e79ab144734d38661b66e3ef3e32b9a154d Mon Sep 17 00:00:00 2001 From: Alexey Shekhirin Date: Mon, 11 Mar 2024 18:26:08 +0000 Subject: [PATCH] feat(book): update CLI section (#7102) --- book/cli/reth.md | 2 -- book/cli/reth/dump-genesis.md | 8 +++----- book/cli/reth/node.md | 9 +++++---- book/cli/reth/p2p.md | 10 +++++----- book/cli/reth/stage/run.md | 3 +++ 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/book/cli/reth.md b/book/cli/reth.md index 6ea89edc6..f213a30f2 100644 --- a/book/cli/reth.md +++ b/book/cli/reth.md @@ -4,8 +4,6 @@ Reth ```bash $ reth --help -Reth - Usage: reth [OPTIONS] Commands: diff --git a/book/cli/reth/dump-genesis.md b/book/cli/reth/dump-genesis.md index 3ce0594fa..a1bf28170 100644 --- a/book/cli/reth/dump-genesis.md +++ b/book/cli/reth/dump-genesis.md @@ -1,11 +1,9 @@ # reth dump-genesis -This dumps genesis block JSON configuration to stdout - -```bash -$ reth dump-genesis Dumps genesis block JSON configuration to stdout +```bash +$ reth dump-genesis --help Usage: reth dump-genesis [OPTIONS] Options: @@ -66,7 +64,7 @@ Logging: --log.file.directory The path to put log files in - [default: /logs] + [default: /logs] --log.file.max-size The maximum size (in MB) of one log file diff --git a/book/cli/reth/node.md b/book/cli/reth/node.md index 63c9f2d90..99de6a7b2 100644 --- a/book/cli/reth/node.md +++ b/book/cli/reth/node.md @@ -238,7 +238,7 @@ RPC: --rpc-max-tracing-requests Maximum number of concurrent tracing requests - [default: 25] + [default: 8] --rpc-max-blocks-per-filter Maximum number of blocks that could be scanned per filter request. (0 = entire chain) @@ -344,13 +344,13 @@ TxPool: [default: 100] --txpool.max_tx_input_bytes - Maximum size a single transaction can have - + Max size in bytes of a single transaction allowed to enter the pool + [default: 131072] --txpool.max_cached_entries The maximum number of blobs to keep in the in memory blob cache - + [default: 100] --txpool.nolocals @@ -533,3 +533,4 @@ Display: -q, --quiet Silence all log output +``` \ No newline at end of file diff --git a/book/cli/reth/p2p.md b/book/cli/reth/p2p.md index f5ab46224..4c7ecb972 100644 --- a/book/cli/reth/p2p.md +++ b/book/cli/reth/p2p.md @@ -65,6 +65,11 @@ Options: --trusted-only Connect only to trusted peers + --retries + The number of retries per request + + [default: 5] + --instance Add a new instance of a node. @@ -76,11 +81,6 @@ Options: [default: 1] - --retries - The number of retries per request - - [default: 5] - --nat [default: any] diff --git a/book/cli/reth/stage/run.md b/book/cli/reth/stage/run.md index a7d8d61bc..246969427 100644 --- a/book/cli/reth/stage/run.md +++ b/book/cli/reth/stage/run.md @@ -182,6 +182,9 @@ Database: Useful when you want to run diagnostics on the database. + --checkpoints + Save stage checkpoints + Logging: --log.stdout.format The format to use for logs written to stdout