From dc830b30c68ff8d4419e0a2da6f78e0c1ae6edb7 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Mon, 15 Dec 2025 15:09:54 -0500 Subject: [PATCH] feat(cli): add rocksdb table flags --- crates/node/core/src/args/static_files.rs | 24 +++++++++++++++++++ docs/vocs/docs/pages/cli/op-reth/db.mdx | 15 ++++++++++++ .../vocs/docs/pages/cli/op-reth/import-op.mdx | 15 ++++++++++++ .../pages/cli/op-reth/import-receipts-op.mdx | 15 ++++++++++++ .../docs/pages/cli/op-reth/init-state.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/op-reth/init.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/op-reth/node.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/op-reth/prune.mdx | 15 ++++++++++++ .../docs/pages/cli/op-reth/re-execute.mdx | 15 ++++++++++++ .../docs/pages/cli/op-reth/stage/drop.mdx | 15 ++++++++++++ .../docs/pages/cli/op-reth/stage/dump.mdx | 15 ++++++++++++ .../vocs/docs/pages/cli/op-reth/stage/run.mdx | 15 ++++++++++++ .../docs/pages/cli/op-reth/stage/unwind.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/db.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/download.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/export-era.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/import-era.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/import.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/init-state.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/init.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/node.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/prune.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/re-execute.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/stage/drop.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/stage/dump.mdx | 15 ++++++++++++ docs/vocs/docs/pages/cli/reth/stage/run.mdx | 15 ++++++++++++ .../vocs/docs/pages/cli/reth/stage/unwind.mdx | 15 ++++++++++++ 27 files changed, 414 insertions(+) diff --git a/crates/node/core/src/args/static_files.rs b/crates/node/core/src/args/static_files.rs index 5f7a1510ee..023359cf5e 100644 --- a/crates/node/core/src/args/static_files.rs +++ b/crates/node/core/src/args/static_files.rs @@ -42,6 +42,27 @@ pub struct StaticFilesArgs { /// the node has been initialized, changing this flag requires re-syncing from scratch. #[arg(long = "static-files.transaction-senders")] pub transaction_senders: bool, + + /// Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + /// + /// Note: This setting can only be configured at genesis initialization. Once + /// the node has been initialized, changing this flag requires re-syncing from scratch. + #[arg(long = "storage.tx-hash-numbers-in-rocksdb")] + pub tx_hash_numbers_in_rocksdb: bool, + + /// Store `StoragesHistory` table in `RocksDB` instead of MDBX. + /// + /// Note: This setting can only be configured at genesis initialization. Once + /// the node has been initialized, changing this flag requires re-syncing from scratch. + #[arg(long = "storage.storages-history-in-rocksdb")] + pub storages_history_in_rocksdb: bool, + + /// Store `AccountsHistory` table in `RocksDB` instead of MDBX. + /// + /// Note: This setting can only be configured at genesis initialization. Once + /// the node has been initialized, changing this flag requires re-syncing from scratch. + #[arg(long = "storage.account-history-in-rocksdb")] + pub account_history_in_rocksdb: bool, } impl StaticFilesArgs { @@ -67,5 +88,8 @@ impl StaticFilesArgs { StorageSettings::legacy() .with_receipts_in_static_files(self.receipts) .with_transaction_senders_in_static_files(self.transaction_senders) + .with_transaction_hash_numbers_in_rocksdb(self.tx_hash_numbers_in_rocksdb) + .with_storages_history_in_rocksdb(self.storages_history_in_rocksdb) + .with_account_history_in_rocksdb(self.account_history_in_rocksdb) } } diff --git a/docs/vocs/docs/pages/cli/op-reth/db.mdx b/docs/vocs/docs/pages/cli/op-reth/db.mdx index be7e33ec07..c076482d0a 100644 --- a/docs/vocs/docs/pages/cli/op-reth/db.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/db.mdx @@ -132,6 +132,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/op-reth/import-op.mdx b/docs/vocs/docs/pages/cli/op-reth/import-op.mdx index d60abada8d..95ee1f0b71 100644 --- a/docs/vocs/docs/pages/cli/op-reth/import-op.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/import-op.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --chunk-len Chunk byte length to read from file. diff --git a/docs/vocs/docs/pages/cli/op-reth/import-receipts-op.mdx b/docs/vocs/docs/pages/cli/op-reth/import-receipts-op.mdx index 85be78419d..73e85ab4fb 100644 --- a/docs/vocs/docs/pages/cli/op-reth/import-receipts-op.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/import-receipts-op.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --chunk-len Chunk byte length to read from file. diff --git a/docs/vocs/docs/pages/cli/op-reth/init-state.mdx b/docs/vocs/docs/pages/cli/op-reth/init-state.mdx index f00042eb94..b479bb7455 100644 --- a/docs/vocs/docs/pages/cli/op-reth/init-state.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/init-state.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --without-evm Specifies whether to initialize the state without relying on EVM historical data. diff --git a/docs/vocs/docs/pages/cli/op-reth/init.mdx b/docs/vocs/docs/pages/cli/op-reth/init.mdx index 03384822a9..763b296cc5 100644 --- a/docs/vocs/docs/pages/cli/op-reth/init.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/init.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/op-reth/node.mdx b/docs/vocs/docs/pages/cli/op-reth/node.mdx index ee1adfee78..64ae1f57a2 100644 --- a/docs/vocs/docs/pages/cli/op-reth/node.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/node.mdx @@ -998,6 +998,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Rollup: --rollup.sequencer Endpoint for the sequencer mempool (can be both HTTP and WS) diff --git a/docs/vocs/docs/pages/cli/op-reth/prune.mdx b/docs/vocs/docs/pages/cli/op-reth/prune.mdx index ef0783da58..218fe824df 100644 --- a/docs/vocs/docs/pages/cli/op-reth/prune.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/prune.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/op-reth/re-execute.mdx b/docs/vocs/docs/pages/cli/op-reth/re-execute.mdx index bd95fbab68..d90c528b0a 100644 --- a/docs/vocs/docs/pages/cli/op-reth/re-execute.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/re-execute.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --from The height to start at diff --git a/docs/vocs/docs/pages/cli/op-reth/stage/drop.mdx b/docs/vocs/docs/pages/cli/op-reth/stage/drop.mdx index 5f96ed8ab6..a6c44f304d 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/drop.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/drop.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Possible values: - headers: The headers stage within the pipeline diff --git a/docs/vocs/docs/pages/cli/op-reth/stage/dump.mdx b/docs/vocs/docs/pages/cli/op-reth/stage/dump.mdx index 910ab7666f..0f9503aa5f 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/dump.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/dump.mdx @@ -123,6 +123,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/op-reth/stage/run.mdx b/docs/vocs/docs/pages/cli/op-reth/stage/run.mdx index c57a221e5f..c5939963ff 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/run.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/run.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --metrics Enable Prometheus metrics. diff --git a/docs/vocs/docs/pages/cli/op-reth/stage/unwind.mdx b/docs/vocs/docs/pages/cli/op-reth/stage/unwind.mdx index d53a6e5b46..773b4f0cd4 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/unwind.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/unwind.mdx @@ -121,6 +121,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --offline If this is enabled, then all stages except headers, bodies, and sender recovery will be unwound diff --git a/docs/vocs/docs/pages/cli/reth/db.mdx b/docs/vocs/docs/pages/cli/reth/db.mdx index da580f7e8e..793b778954 100644 --- a/docs/vocs/docs/pages/cli/reth/db.mdx +++ b/docs/vocs/docs/pages/cli/reth/db.mdx @@ -132,6 +132,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/reth/download.mdx b/docs/vocs/docs/pages/cli/reth/download.mdx index 9d897b8561..6df98dcb48 100644 --- a/docs/vocs/docs/pages/cli/reth/download.mdx +++ b/docs/vocs/docs/pages/cli/reth/download.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + -u, --url Specify a snapshot URL or let the command propose a default one. diff --git a/docs/vocs/docs/pages/cli/reth/export-era.mdx b/docs/vocs/docs/pages/cli/reth/export-era.mdx index f43b294766..c60885d5bd 100644 --- a/docs/vocs/docs/pages/cli/reth/export-era.mdx +++ b/docs/vocs/docs/pages/cli/reth/export-era.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --first-block-number Optional first block number to export from the db. It is by default 0. diff --git a/docs/vocs/docs/pages/cli/reth/import-era.mdx b/docs/vocs/docs/pages/cli/reth/import-era.mdx index 0528b83157..8e6e32af97 100644 --- a/docs/vocs/docs/pages/cli/reth/import-era.mdx +++ b/docs/vocs/docs/pages/cli/reth/import-era.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --path The path to a directory for import. diff --git a/docs/vocs/docs/pages/cli/reth/import.mdx b/docs/vocs/docs/pages/cli/reth/import.mdx index 79fc123c1f..8f99a7b3a1 100644 --- a/docs/vocs/docs/pages/cli/reth/import.mdx +++ b/docs/vocs/docs/pages/cli/reth/import.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --no-state Disables stages that require state. diff --git a/docs/vocs/docs/pages/cli/reth/init-state.mdx b/docs/vocs/docs/pages/cli/reth/init-state.mdx index 471672c7a8..e943b4d295 100644 --- a/docs/vocs/docs/pages/cli/reth/init-state.mdx +++ b/docs/vocs/docs/pages/cli/reth/init-state.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --without-evm Specifies whether to initialize the state without relying on EVM historical data. diff --git a/docs/vocs/docs/pages/cli/reth/init.mdx b/docs/vocs/docs/pages/cli/reth/init.mdx index 4e55d4f169..d9681af358 100644 --- a/docs/vocs/docs/pages/cli/reth/init.mdx +++ b/docs/vocs/docs/pages/cli/reth/init.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/reth/node.mdx b/docs/vocs/docs/pages/cli/reth/node.mdx index 38b59183e4..cb9946344f 100644 --- a/docs/vocs/docs/pages/cli/reth/node.mdx +++ b/docs/vocs/docs/pages/cli/reth/node.mdx @@ -998,6 +998,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Ress: --ress.enable Enable support for `ress` subprotocol diff --git a/docs/vocs/docs/pages/cli/reth/prune.mdx b/docs/vocs/docs/pages/cli/reth/prune.mdx index e5b143e133..08b92fa207 100644 --- a/docs/vocs/docs/pages/cli/reth/prune.mdx +++ b/docs/vocs/docs/pages/cli/reth/prune.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/reth/re-execute.mdx b/docs/vocs/docs/pages/cli/reth/re-execute.mdx index 4b455a9bff..75cd1dc6a9 100644 --- a/docs/vocs/docs/pages/cli/reth/re-execute.mdx +++ b/docs/vocs/docs/pages/cli/reth/re-execute.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --from The height to start at diff --git a/docs/vocs/docs/pages/cli/reth/stage/drop.mdx b/docs/vocs/docs/pages/cli/reth/stage/drop.mdx index 55ebb4725e..6e544c14f6 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/drop.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/drop.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Possible values: - headers: The headers stage within the pipeline diff --git a/docs/vocs/docs/pages/cli/reth/stage/dump.mdx b/docs/vocs/docs/pages/cli/reth/stage/dump.mdx index d0f2666979..75fcbcd441 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/dump.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/dump.mdx @@ -123,6 +123,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + Logging: --log.stdout.format The format to use for logs written to stdout diff --git a/docs/vocs/docs/pages/cli/reth/stage/run.mdx b/docs/vocs/docs/pages/cli/reth/stage/run.mdx index f0e4f06bba..faf1de7d71 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/run.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/run.mdx @@ -116,6 +116,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --metrics Enable Prometheus metrics. diff --git a/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx b/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx index 2ba873f682..c4e6872304 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx @@ -121,6 +121,21 @@ Static Files: Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --storage.tx-hash-numbers-in-rocksdb + Store `TransactionHashNumbers` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.storages-history-in-rocksdb + Store `StoragesHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + + --storage.account-history-in-rocksdb + Store `AccountsHistory` table in `RocksDB` instead of MDBX. + + Note: This setting can only be configured at genesis initialization. Once the node has been initialized, changing this flag requires re-syncing from scratch. + --offline If this is enabled, then all stages except headers, bodies, and sender recovery will be unwound