diff --git a/crates/e2e-test-utils/tests/rocksdb/main.rs b/crates/e2e-test-utils/tests/rocksdb/main.rs index 178ed5a25c..bca8a6f2e2 100644 --- a/crates/e2e-test-utils/tests/rocksdb/main.rs +++ b/crates/e2e-test-utils/tests/rocksdb/main.rs @@ -10,11 +10,10 @@ use jsonrpsee::core::client::ClientT; use reth_chainspec::{ChainSpec, ChainSpecBuilder, MAINNET}; use reth_db::tables; use reth_e2e_test_utils::{transaction::TransactionTestContext, wallet, E2ETestSetupBuilder}; -use reth_node_builder::NodeConfig; use reth_node_core::args::RocksDbArgs; use reth_node_ethereum::EthereumNode; use reth_payload_builder::EthPayloadBuilderAttributes; -use reth_provider::RocksDBProviderFactory; +use reth_provider::{RocksDBProviderFactory, StorageSettings}; use std::{sync::Arc, time::Duration}; const ROCKSDB_POLL_TIMEOUT: Duration = Duration::from_secs(60); @@ -97,14 +96,24 @@ fn test_attributes_generator(timestamp: u64) -> EthPayloadBuilderAttributes { EthPayloadBuilderAttributes::new(B256::ZERO, attributes) } -/// Enables `RocksDB` for `TransactionHashNumbers` table. -/// Explicitly enables static file changesets to test the fix for double-write bug. -const fn with_rocksdb_enabled(mut config: NodeConfig) -> NodeConfig { - config.rocksdb = - RocksDbArgs { all: true, tx_hash: true, storages_history: true, account_history: true }; - config.static_files.storage_changesets = true; - config.static_files.account_changesets = true; - config +/// Verifies that `RocksDB` CLI defaults match `StorageSettings::base()`. +#[test] +fn test_rocksdb_defaults_match_storage_settings() { + let args = RocksDbArgs::default(); + let settings = StorageSettings::base(); + + assert_eq!( + args.tx_hash, settings.transaction_hash_numbers_in_rocksdb, + "tx_hash default should match StorageSettings::base()" + ); + assert_eq!( + args.storages_history, settings.storages_history_in_rocksdb, + "storages_history default should match StorageSettings::base()" + ); + assert_eq!( + args.account_history, settings.account_history_in_rocksdb, + "account_history default should match StorageSettings::base()" + ); } /// Smoke test: node boots with `RocksDB` routing enabled. @@ -116,7 +125,6 @@ async fn test_rocksdb_node_startup() -> Result<()> { let (nodes, _tasks, _wallet) = E2ETestSetupBuilder::::new(1, chain_spec, test_attributes_generator) - .with_node_config_modifier(with_rocksdb_enabled) .build() .await?; @@ -144,7 +152,6 @@ async fn test_rocksdb_block_mining() -> Result<()> { let (mut nodes, _tasks, _wallet) = E2ETestSetupBuilder::::new(1, chain_spec, test_attributes_generator) - .with_node_config_modifier(with_rocksdb_enabled) .build() .await?; @@ -201,7 +208,6 @@ async fn test_rocksdb_transaction_queries() -> Result<()> { chain_spec.clone(), test_attributes_generator, ) - .with_node_config_modifier(with_rocksdb_enabled) .with_tree_config_modifier(|config| config.with_persistence_threshold(0)) .build() .await?; @@ -268,7 +274,6 @@ async fn test_rocksdb_multi_tx_same_block() -> Result<()> { chain_spec.clone(), test_attributes_generator, ) - .with_node_config_modifier(with_rocksdb_enabled) .with_tree_config_modifier(|config| config.with_persistence_threshold(0)) .build() .await?; @@ -336,7 +341,6 @@ async fn test_rocksdb_txs_across_blocks() -> Result<()> { chain_spec.clone(), test_attributes_generator, ) - .with_node_config_modifier(with_rocksdb_enabled) .with_tree_config_modifier(|config| config.with_persistence_threshold(0)) .build() .await?; @@ -421,7 +425,6 @@ async fn test_rocksdb_pending_tx_not_in_storage() -> Result<()> { chain_spec.clone(), test_attributes_generator, ) - .with_node_config_modifier(with_rocksdb_enabled) .with_tree_config_modifier(|config| config.with_persistence_threshold(0)) .build() .await?; diff --git a/crates/node/core/src/args/rocksdb.rs b/crates/node/core/src/args/rocksdb.rs index ad3b5dc8d3..e7931ef0f4 100644 --- a/crates/node/core/src/args/rocksdb.rs +++ b/crates/node/core/src/args/rocksdb.rs @@ -1,13 +1,27 @@ //! clap [Args](clap::Args) for `RocksDB` table routing configuration use clap::{ArgAction, Args}; +use reth_storage_api::StorageSettings; -/// Default value for `RocksDB` routing flags. +/// Default value for `tx_hash` routing flag. /// -/// When the `edge` feature is enabled, defaults to `true` to enable edge storage features. -/// Otherwise defaults to `false` for legacy behavior. -const fn default_rocksdb_flag() -> bool { - cfg!(feature = "edge") +/// Derived from [`StorageSettings::base()`] to ensure CLI defaults match storage defaults. +const fn default_tx_hash_in_rocksdb() -> bool { + StorageSettings::base().transaction_hash_numbers_in_rocksdb +} + +/// Default value for `storages_history` routing flag. +/// +/// Derived from [`StorageSettings::base()`] to ensure CLI defaults match storage defaults. +const fn default_storages_history_in_rocksdb() -> bool { + StorageSettings::base().storages_history_in_rocksdb +} + +/// Default value for `account_history` routing flag. +/// +/// Derived from [`StorageSettings::base()`] to ensure CLI defaults match storage defaults. +const fn default_account_history_in_rocksdb() -> bool { + StorageSettings::base().account_history_in_rocksdb } /// Parameters for `RocksDB` table routing configuration. @@ -28,21 +42,21 @@ pub struct RocksDbArgs { /// /// This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. /// Defaults to `true` when the `edge` feature is enabled, `false` otherwise. - #[arg(long = "rocksdb.tx-hash", default_value_t = default_rocksdb_flag(), action = ArgAction::Set)] + #[arg(long = "rocksdb.tx-hash", default_value_t = default_tx_hash_in_rocksdb(), action = ArgAction::Set)] pub tx_hash: bool, /// Route storages history tables to `RocksDB` instead of MDBX. /// /// This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. - /// Defaults to `true` when the `edge` feature is enabled, `false` otherwise. - #[arg(long = "rocksdb.storages-history", default_value_t = default_rocksdb_flag(), action = ArgAction::Set)] + /// Defaults to `false`. + #[arg(long = "rocksdb.storages-history", default_value_t = default_storages_history_in_rocksdb(), action = ArgAction::Set)] pub storages_history: bool, /// Route account history tables to `RocksDB` instead of MDBX. /// /// This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. - /// Defaults to `true` when the `edge` feature is enabled, `false` otherwise. - #[arg(long = "rocksdb.account-history", default_value_t = default_rocksdb_flag(), action = ArgAction::Set)] + /// Defaults to `false`. + #[arg(long = "rocksdb.account-history", default_value_t = default_account_history_in_rocksdb(), action = ArgAction::Set)] pub account_history: bool, } @@ -50,9 +64,9 @@ impl Default for RocksDbArgs { fn default() -> Self { Self { all: false, - tx_hash: default_rocksdb_flag(), - storages_history: default_rocksdb_flag(), - account_history: default_rocksdb_flag(), + tx_hash: default_tx_hash_in_rocksdb(), + storages_history: default_storages_history_in_rocksdb(), + account_history: default_account_history_in_rocksdb(), } } } @@ -106,7 +120,25 @@ mod tests { fn test_parse_all_flag() { let args = CommandParser::::parse_from(["reth", "--rocksdb.all"]).args; assert!(args.all); - assert_eq!(args.tx_hash, default_rocksdb_flag()); + assert_eq!(args.tx_hash, default_tx_hash_in_rocksdb()); + } + + #[test] + fn test_defaults_match_storage_settings() { + let args = RocksDbArgs::default(); + let settings = StorageSettings::base(); + assert_eq!( + args.tx_hash, settings.transaction_hash_numbers_in_rocksdb, + "tx_hash default should match StorageSettings::base()" + ); + assert_eq!( + args.storages_history, settings.storages_history_in_rocksdb, + "storages_history default should match StorageSettings::base()" + ); + assert_eq!( + args.account_history, settings.account_history_in_rocksdb, + "account_history default should match StorageSettings::base()" + ); } #[test] diff --git a/docs/vocs/docs/pages/cli/op-reth/db.mdx b/docs/vocs/docs/pages/cli/op-reth/db.mdx index d8a816e23a..a4afaab93c 100644 --- a/docs/vocs/docs/pages/cli/op-reth/db.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/db.mdx @@ -184,7 +184,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -192,7 +192,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 c5affadf9f..0a832e3425 100644 --- a/docs/vocs/docs/pages/cli/op-reth/import-op.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/import-op.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 398086f9dc..90503453cb 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 @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 3e3e1ba019..991a32fc72 100644 --- a/docs/vocs/docs/pages/cli/op-reth/init-state.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/init-state.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/op-reth/init.mdx b/docs/vocs/docs/pages/cli/op-reth/init.mdx index 9a0930b4fe..2ffe413842 100644 --- a/docs/vocs/docs/pages/cli/op-reth/init.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/init.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/op-reth/node.mdx b/docs/vocs/docs/pages/cli/op-reth/node.mdx index 00eef4064e..3fe597815c 100644 --- a/docs/vocs/docs/pages/cli/op-reth/node.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/node.mdx @@ -919,7 +919,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -927,7 +927,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/op-reth/prune.mdx b/docs/vocs/docs/pages/cli/op-reth/prune.mdx index 603af5d99e..c858c19303 100644 --- a/docs/vocs/docs/pages/cli/op-reth/prune.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/prune.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 c185b91027..1765aa4c3b 100644 --- a/docs/vocs/docs/pages/cli/op-reth/re-execute.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/re-execute.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 d5034f0d4b..c03f4aa36a 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/drop.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/drop.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 9150154c31..05dcf748a7 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/dump.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/dump.mdx @@ -175,7 +175,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -183,7 +183,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 75b39f76c7..cb77b37201 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/run.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/run.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] 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 37852456cf..cda368aad0 100644 --- a/docs/vocs/docs/pages/cli/op-reth/stage/unwind.mdx +++ b/docs/vocs/docs/pages/cli/op-reth/stage/unwind.mdx @@ -173,7 +173,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -181,7 +181,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/db.mdx b/docs/vocs/docs/pages/cli/reth/db.mdx index 11f25e6973..09d81c4283 100644 --- a/docs/vocs/docs/pages/cli/reth/db.mdx +++ b/docs/vocs/docs/pages/cli/reth/db.mdx @@ -184,7 +184,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -192,7 +192,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/download.mdx b/docs/vocs/docs/pages/cli/reth/download.mdx index 02ff7298c7..257d7ad078 100644 --- a/docs/vocs/docs/pages/cli/reth/download.mdx +++ b/docs/vocs/docs/pages/cli/reth/download.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/export-era.mdx b/docs/vocs/docs/pages/cli/reth/export-era.mdx index 9275a12059..f67920173f 100644 --- a/docs/vocs/docs/pages/cli/reth/export-era.mdx +++ b/docs/vocs/docs/pages/cli/reth/export-era.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/import-era.mdx b/docs/vocs/docs/pages/cli/reth/import-era.mdx index aa13fd5f56..866b15460a 100644 --- a/docs/vocs/docs/pages/cli/reth/import-era.mdx +++ b/docs/vocs/docs/pages/cli/reth/import-era.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/import.mdx b/docs/vocs/docs/pages/cli/reth/import.mdx index ed6a5d7f59..51112f2137 100644 --- a/docs/vocs/docs/pages/cli/reth/import.mdx +++ b/docs/vocs/docs/pages/cli/reth/import.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/init-state.mdx b/docs/vocs/docs/pages/cli/reth/init-state.mdx index cbaf086f7c..fb966cee1a 100644 --- a/docs/vocs/docs/pages/cli/reth/init-state.mdx +++ b/docs/vocs/docs/pages/cli/reth/init-state.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/init.mdx b/docs/vocs/docs/pages/cli/reth/init.mdx index bc4fe2c30c..7bb3fb243e 100644 --- a/docs/vocs/docs/pages/cli/reth/init.mdx +++ b/docs/vocs/docs/pages/cli/reth/init.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/node.mdx b/docs/vocs/docs/pages/cli/reth/node.mdx index d0b2aad65d..31896c640a 100644 --- a/docs/vocs/docs/pages/cli/reth/node.mdx +++ b/docs/vocs/docs/pages/cli/reth/node.mdx @@ -919,7 +919,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -927,7 +927,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/prune.mdx b/docs/vocs/docs/pages/cli/reth/prune.mdx index a40d116b5f..fef01ec44a 100644 --- a/docs/vocs/docs/pages/cli/reth/prune.mdx +++ b/docs/vocs/docs/pages/cli/reth/prune.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/re-execute.mdx b/docs/vocs/docs/pages/cli/reth/re-execute.mdx index 30f2f8fc21..eb9187a53f 100644 --- a/docs/vocs/docs/pages/cli/reth/re-execute.mdx +++ b/docs/vocs/docs/pages/cli/reth/re-execute.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/stage/drop.mdx b/docs/vocs/docs/pages/cli/reth/stage/drop.mdx index 9835286266..d88581492e 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/drop.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/drop.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/stage/dump.mdx b/docs/vocs/docs/pages/cli/reth/stage/dump.mdx index 9aefa35542..048d66cbf7 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/dump.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/dump.mdx @@ -175,7 +175,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -183,7 +183,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/stage/run.mdx b/docs/vocs/docs/pages/cli/reth/stage/run.mdx index c06c786879..6da85ef82b 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/run.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/run.mdx @@ -168,7 +168,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -176,7 +176,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] diff --git a/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx b/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx index af442b243d..542572ff5c 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx @@ -173,7 +173,7 @@ RocksDB: --rocksdb.storages-history Route storages history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false] @@ -181,7 +181,7 @@ RocksDB: --rocksdb.account-history Route account history tables to `RocksDB` instead of MDBX. - This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `true` when the `edge` feature is enabled, `false` otherwise. + This is a genesis-initialization-only flag: changing it after genesis requires a re-sync. Defaults to `false`. [default: false] [possible values: true, false]