mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(book): update CLI section (#7102)
This commit is contained in:
2
book/cli/reth.md
vendored
2
book/cli/reth.md
vendored
@ -4,8 +4,6 @@ Reth
|
||||
|
||||
```bash
|
||||
$ reth --help
|
||||
Reth
|
||||
|
||||
Usage: reth [OPTIONS] <COMMAND>
|
||||
|
||||
Commands:
|
||||
|
||||
8
book/cli/reth/dump-genesis.md
vendored
8
book/cli/reth/dump-genesis.md
vendored
@ -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
|
||||
|
||||
9
book/cli/reth/node.md
vendored
9
book/cli/reth/node.md
vendored
@ -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
10
book/cli/reth/p2p.md
vendored
@ -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]
|
||||
|
||||
|
||||
3
book/cli/reth/stage/run.md
vendored
3
book/cli/reth/stage/run.md
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user