mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add EnvironmentArgs and use across all CLI commands (#8590)
This commit is contained in:
21
book/cli/reth/db.md
vendored
21
book/cli/reth/db.md
vendored
@ -19,15 +19,6 @@ Commands:
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -57,6 +48,18 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
9
book/cli/reth/db/checksum.md
vendored
9
book/cli/reth/db/checksum.md
vendored
@ -11,15 +11,6 @@ Arguments:
|
||||
The table name
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--start-key <START_KEY>
|
||||
The start of the range to checksum
|
||||
|
||||
|
||||
9
book/cli/reth/db/clear.md
vendored
9
book/cli/reth/db/clear.md
vendored
@ -12,15 +12,6 @@ Commands:
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
9
book/cli/reth/db/clear/mdbx.md
vendored
9
book/cli/reth/db/clear/mdbx.md
vendored
@ -11,15 +11,6 @@ Arguments:
|
||||
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
9
book/cli/reth/db/clear/static-file.md
vendored
9
book/cli/reth/db/clear/static-file.md
vendored
@ -14,15 +14,6 @@ Arguments:
|
||||
- receipts: Static File segment responsible for the `Receipts` table
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
9
book/cli/reth/db/diff.md
vendored
9
book/cli/reth/db/diff.md
vendored
@ -7,15 +7,6 @@ $ reth db diff --help
|
||||
Usage: reth db diff [OPTIONS] --secondary-datadir <SECONDARY_DATADIR> --output <OUTPUT>
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--secondary-datadir <SECONDARY_DATADIR>
|
||||
The path to the data dir for all reth files and subdirectories.
|
||||
|
||||
|
||||
9
book/cli/reth/db/drop.md
vendored
9
book/cli/reth/db/drop.md
vendored
@ -7,15 +7,6 @@ $ reth db drop --help
|
||||
Usage: reth db drop [OPTIONS]
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
-f, --force
|
||||
Bypasses the interactive confirmation and drops the database directly
|
||||
|
||||
|
||||
9
book/cli/reth/db/get.md
vendored
9
book/cli/reth/db/get.md
vendored
@ -12,15 +12,6 @@ Commands:
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
9
book/cli/reth/db/get/mdbx.md
vendored
9
book/cli/reth/db/get/mdbx.md
vendored
@ -17,15 +17,6 @@ Arguments:
|
||||
The subkey to get content for
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--raw
|
||||
Output bytes instead of human-readable decoded value
|
||||
|
||||
|
||||
9
book/cli/reth/db/get/static-file.md
vendored
9
book/cli/reth/db/get/static-file.md
vendored
@ -17,15 +17,6 @@ Arguments:
|
||||
The key to get content for
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--raw
|
||||
Output bytes instead of human-readable decoded value
|
||||
|
||||
|
||||
9
book/cli/reth/db/list.md
vendored
9
book/cli/reth/db/list.md
vendored
@ -11,15 +11,6 @@ Arguments:
|
||||
The table name
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
-s, --skip <SKIP>
|
||||
Skip first N entries
|
||||
|
||||
|
||||
9
book/cli/reth/db/path.md
vendored
9
book/cli/reth/db/path.md
vendored
@ -7,15 +7,6 @@ $ reth db path --help
|
||||
Usage: reth db path [OPTIONS]
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
9
book/cli/reth/db/stats.md
vendored
9
book/cli/reth/db/stats.md
vendored
@ -7,15 +7,6 @@ $ reth db stats --help
|
||||
Usage: reth db stats [OPTIONS]
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--detailed-sizes
|
||||
Show only the total size for static files
|
||||
|
||||
|
||||
9
book/cli/reth/db/version.md
vendored
9
book/cli/reth/db/version.md
vendored
@ -7,15 +7,6 @@ $ reth db version --help
|
||||
Usage: reth db version [OPTIONS]
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
36
book/cli/reth/import.md
vendored
36
book/cli/reth/import.md
vendored
@ -7,24 +7,6 @@ $ reth import --help
|
||||
Usage: reth import [OPTIONS] <IMPORT_PATH>
|
||||
|
||||
Options:
|
||||
--config <FILE>
|
||||
The path to the configuration file to use.
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--no-state
|
||||
Disables stages that require state.
|
||||
|
||||
--chunk-len <CHUNK_LEN>
|
||||
Chunk byte length to read from file.
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -54,6 +36,18 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
@ -73,6 +67,12 @@ Database:
|
||||
|
||||
[possible values: true, false]
|
||||
|
||||
--no-state
|
||||
Disables stages that require state.
|
||||
|
||||
--chunk-len <CHUNK_LEN>
|
||||
Chunk byte length to read from file.
|
||||
|
||||
<IMPORT_PATH>
|
||||
The path to a block file for import.
|
||||
|
||||
|
||||
53
book/cli/reth/init-state.md
vendored
53
book/cli/reth/init-state.md
vendored
@ -7,15 +7,6 @@ $ reth init-state --help
|
||||
Usage: reth init-state [OPTIONS] <STATE_DUMP_FILE>
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -45,24 +36,17 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
<STATE_DUMP_FILE>
|
||||
JSONL file with state dump.
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
Must contain accounts in following format, additional account fields are ignored. Must
|
||||
also contain { "root": \<state-root\> } as first line.
|
||||
{
|
||||
"balance": "\<balance\>",
|
||||
"nonce": \<nonce\>,
|
||||
"code": "\<bytecode\>",
|
||||
"storage": {
|
||||
"\<key\>": "\<value\>",
|
||||
..
|
||||
},
|
||||
"address": "\<address\>",
|
||||
}
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Allows init at a non-genesis block. Caution! Blocks must be manually imported up until
|
||||
and including the non-genesis block to init chain at. See 'import' command.
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
@ -83,6 +67,25 @@ Database:
|
||||
|
||||
[possible values: true, false]
|
||||
|
||||
<STATE_DUMP_FILE>
|
||||
JSONL file with state dump.
|
||||
|
||||
Must contain accounts in following format, additional account fields are ignored. Must
|
||||
also contain { "root": \<state-root\> } as first line.
|
||||
{
|
||||
"balance": "\<balance\>",
|
||||
"nonce": \<nonce\>,
|
||||
"code": "\<bytecode\>",
|
||||
"storage": {
|
||||
"\<key\>": "\<value\>",
|
||||
..
|
||||
},
|
||||
"address": "\<address\>",
|
||||
}
|
||||
|
||||
Allows init at a non-genesis block. Caution! Blocks must be manually imported up until
|
||||
and including the non-genesis block to init chain at. See 'import' command.
|
||||
|
||||
Logging:
|
||||
--log.stdout.format <FORMAT>
|
||||
The format to use for logs written to stdout
|
||||
|
||||
21
book/cli/reth/init.md
vendored
21
book/cli/reth/init.md
vendored
@ -7,15 +7,6 @@ $ reth init --help
|
||||
Usage: reth init [OPTIONS]
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -45,6 +36,18 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
21
book/cli/reth/recover/storage-tries.md
vendored
21
book/cli/reth/recover/storage-tries.md
vendored
@ -7,15 +7,6 @@ $ reth recover storage-tries --help
|
||||
Usage: reth recover storage-tries [OPTIONS]
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -45,6 +36,18 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
21
book/cli/reth/stage/drop.md
vendored
21
book/cli/reth/stage/drop.md
vendored
@ -7,15 +7,6 @@ $ reth stage drop --help
|
||||
Usage: reth stage drop [OPTIONS] <STAGE>
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -45,6 +36,18 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
21
book/cli/reth/stage/dump.md
vendored
21
book/cli/reth/stage/dump.md
vendored
@ -14,15 +14,6 @@ Commands:
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -52,6 +43,18 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
155
book/cli/reth/stage/run.md
vendored
155
book/cli/reth/stage/run.md
vendored
@ -6,69 +6,7 @@ Run a single stage.
|
||||
$ reth stage run --help
|
||||
Usage: reth stage run [OPTIONS] --from <FROM> --to <TO> <STAGE>
|
||||
|
||||
Arguments:
|
||||
<STAGE>
|
||||
The name of the stage to run
|
||||
|
||||
Possible values:
|
||||
- headers: The headers stage within the pipeline
|
||||
- bodies: The bodies stage within the pipeline
|
||||
- senders: The senders stage within the pipeline
|
||||
- execution: The execution stage within the pipeline
|
||||
- account-hashing: The account hashing stage within the pipeline
|
||||
- storage-hashing: The storage hashing stage within the pipeline
|
||||
- hashing: The account and storage hashing stages within the pipeline
|
||||
- merkle: The merkle stage within the pipeline
|
||||
- tx-lookup: The transaction lookup stage within the pipeline
|
||||
- account-history: The account history stage within the pipeline
|
||||
- storage-history: The storage history stage within the pipeline
|
||||
|
||||
Options:
|
||||
--config <FILE>
|
||||
The path to the configuration file to use.
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--metrics <SOCKET>
|
||||
Enable Prometheus metrics.
|
||||
|
||||
The metrics will be served at the given interface and port.
|
||||
|
||||
--from <FROM>
|
||||
The height to start at
|
||||
|
||||
-t, --to <TO>
|
||||
The end of the stage
|
||||
|
||||
--batch-size <BATCH_SIZE>
|
||||
Batch size for stage execution and unwind
|
||||
|
||||
--etl-file-size <ETL_FILE_SIZE>
|
||||
The maximum size in bytes of data held in memory before being flushed to disk as a file
|
||||
|
||||
--etl-dir <ETL_DIR>
|
||||
Directory where to collect ETL files
|
||||
|
||||
-s, --skip-unwind
|
||||
Normally, running the stage requires unwinding for stages that already have been run, in order to not rewrite to the same database slots.
|
||||
|
||||
You can optionally skip the unwinding phase if you're syncing a block range that has not been synced before.
|
||||
|
||||
-c, --commit
|
||||
Commits the changes in the database. WARNING: potentially destructive.
|
||||
|
||||
Useful when you want to run diagnostics on the database.
|
||||
|
||||
--checkpoints
|
||||
Save stage checkpoints
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -98,6 +36,80 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
Possible values:
|
||||
- fatal: Enables logging for critical conditions, i.e. assertion failures
|
||||
- error: Enables logging for error conditions
|
||||
- warn: Enables logging for warning conditions
|
||||
- notice: Enables logging for normal but significant condition
|
||||
- verbose: Enables logging for verbose informational
|
||||
- debug: Enables logging for debug-level messages
|
||||
- trace: Enables logging for trace debug-level messages
|
||||
- extra: Enables logging for extra debug-level messages
|
||||
|
||||
--db.exclusive <EXCLUSIVE>
|
||||
Open environment in exclusive/monopolistic mode. Makes it possible to open a database on an NFS volume
|
||||
|
||||
[possible values: true, false]
|
||||
|
||||
--metrics <SOCKET>
|
||||
Enable Prometheus metrics.
|
||||
|
||||
The metrics will be served at the given interface and port.
|
||||
|
||||
--from <FROM>
|
||||
The height to start at
|
||||
|
||||
-t, --to <TO>
|
||||
The end of the stage
|
||||
|
||||
--batch-size <BATCH_SIZE>
|
||||
Batch size for stage execution and unwind
|
||||
|
||||
-s, --skip-unwind
|
||||
Normally, running the stage requires unwinding for stages that already have been run, in order to not rewrite to the same database slots.
|
||||
|
||||
You can optionally skip the unwinding phase if you're syncing a block range that has not been synced before.
|
||||
|
||||
-c, --commit
|
||||
Commits the changes in the database. WARNING: potentially destructive.
|
||||
|
||||
Useful when you want to run diagnostics on the database.
|
||||
|
||||
--checkpoints
|
||||
Save stage checkpoints
|
||||
|
||||
<STAGE>
|
||||
The name of the stage to run
|
||||
|
||||
Possible values:
|
||||
- headers: The headers stage within the pipeline
|
||||
- bodies: The bodies stage within the pipeline
|
||||
- senders: The senders stage within the pipeline
|
||||
- execution: The execution stage within the pipeline
|
||||
- account-hashing: The account hashing stage within the pipeline
|
||||
- storage-hashing: The storage hashing stage within the pipeline
|
||||
- hashing: The account and storage hashing stages within the pipeline
|
||||
- merkle: The merkle stage within the pipeline
|
||||
- tx-lookup: The transaction lookup stage within the pipeline
|
||||
- account-history: The account history stage within the pipeline
|
||||
- storage-history: The storage history stage within the pipeline
|
||||
|
||||
Networking:
|
||||
-d, --disable-discovery
|
||||
Disable the discovery service
|
||||
@ -225,25 +237,6 @@ Networking:
|
||||
|
||||
[default: 131072]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
Possible values:
|
||||
- fatal: Enables logging for critical conditions, i.e. assertion failures
|
||||
- error: Enables logging for error conditions
|
||||
- warn: Enables logging for warning conditions
|
||||
- notice: Enables logging for normal but significant condition
|
||||
- verbose: Enables logging for verbose informational
|
||||
- debug: Enables logging for debug-level messages
|
||||
- trace: Enables logging for trace debug-level messages
|
||||
- extra: Enables logging for extra debug-level messages
|
||||
|
||||
--db.exclusive <EXCLUSIVE>
|
||||
Open environment in exclusive/monopolistic mode. Makes it possible to open a database on an NFS volume
|
||||
|
||||
[possible values: true, false]
|
||||
|
||||
Logging:
|
||||
--log.stdout.format <FORMAT>
|
||||
The format to use for logs written to stdout
|
||||
|
||||
21
book/cli/reth/stage/unwind.md
vendored
21
book/cli/reth/stage/unwind.md
vendored
@ -12,15 +12,6 @@ Commands:
|
||||
help Print this message or the help of the given subcommand(s)
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
@ -50,6 +41,18 @@ Datadir:
|
||||
--datadir.static_files <PATH>
|
||||
The absolute path to store static files in.
|
||||
|
||||
--config <FILE>
|
||||
The path to the configuration file to use
|
||||
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
Database:
|
||||
--db.log-level <LOG_LEVEL>
|
||||
Database logging level. Levels higher than "notice" require a debug build
|
||||
|
||||
9
book/cli/reth/stage/unwind/num-blocks.md
vendored
9
book/cli/reth/stage/unwind/num-blocks.md
vendored
@ -11,15 +11,6 @@ Arguments:
|
||||
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
9
book/cli/reth/stage/unwind/to-block.md
vendored
9
book/cli/reth/stage/unwind/to-block.md
vendored
@ -11,15 +11,6 @@ Arguments:
|
||||
|
||||
|
||||
Options:
|
||||
--chain <CHAIN_OR_PATH>
|
||||
The chain this node is running.
|
||||
Possible values are either a built-in chain or the path to a chain specification file.
|
||||
|
||||
Built-in chains:
|
||||
mainnet, sepolia, goerli, holesky, dev
|
||||
|
||||
[default: mainnet]
|
||||
|
||||
--instance <INSTANCE>
|
||||
Add a new instance of a node.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user