mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
refactor: align RocksDbArgs defaults with StorageSettings::base() (#21472)
Co-authored-by: Amp <amp@ampcode.com> Co-authored-by: yongkangc <chiayongkang@hotmail.com>
This commit is contained in:
committed by
GitHub
parent
c8245594bc
commit
e4e05e9ef9
@@ -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<C>(mut config: NodeConfig<C>) -> NodeConfig<C> {
|
||||
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::<EthereumNode, _>::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::<EthereumNode, _>::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?;
|
||||
|
||||
@@ -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::<RocksDbArgs>::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]
|
||||
|
||||
@@ -184,7 +184,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -919,7 +919,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -175,7 +175,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -173,7 +173,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -184,7 +184,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -919,7 +919,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -175,7 +175,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -168,7 +168,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
@@ -173,7 +173,7 @@ RocksDB:
|
||||
--rocksdb.storages-history <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 <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]
|
||||
|
||||
Reference in New Issue
Block a user