feat(book): update CLI section (#7102)

This commit is contained in:
Alexey Shekhirin
2024-03-11 18:26:08 +00:00
committed by GitHub
parent 3c2d3a0833
commit e4f34e79ab
5 changed files with 16 additions and 16 deletions

2
book/cli/reth.md vendored
View File

@ -4,8 +4,6 @@ Reth
```bash
$ reth --help
Reth
Usage: reth [OPTIONS] <COMMAND>
Commands:

View File

@ -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 <PATH>
The path to put log files in
[default: <CACHE_DIR>/logs]
[default: <CACHE_DIR>/logs]
--log.file.max-size <SIZE>
The maximum size (in MB) of one log file

View File

@ -238,7 +238,7 @@ RPC:
--rpc-max-tracing-requests <COUNT>
Maximum number of concurrent tracing requests
[default: 25]
[default: 8]
--rpc-max-blocks-per-filter <COUNT>
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 <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 <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
```

10
book/cli/reth/p2p.md vendored
View File

@ -65,6 +65,11 @@ Options:
--trusted-only
Connect only to trusted peers
--retries <RETRIES>
The number of retries per request
[default: 5]
--instance <INSTANCE>
Add a new instance of a node.
@ -76,11 +81,6 @@ Options:
[default: 1]
--retries <RETRIES>
The number of retries per request
[default: 5]
--nat <NAT>
[default: any]

View File

@ -182,6 +182,9 @@ Database:
Useful when you want to run diagnostics on the database.
--checkpoints
Save stage checkpoints
Logging:
--log.stdout.format <FORMAT>
The format to use for logs written to stdout