diff --git a/beacon_node/src/cli.rs b/beacon_node/src/cli.rs index 0870b8c7065..e059e6fa0e9 100644 --- a/beacon_node/src/cli.rs +++ b/beacon_node/src/cli.rs @@ -752,7 +752,7 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> { .help("Number of epochs between state diffs stored in the database. Lower values \ result in more writes and more data stored, while higher values result in \ more block replaying and longer load times in case of cache miss.") - .default_value("4") + .default_value("16") .takes_value(true) ) /* diff --git a/beacon_node/store/src/config.rs b/beacon_node/store/src/config.rs index 18878e95e6c..26b1d07a655 100644 --- a/beacon_node/store/src/config.rs +++ b/beacon_node/store/src/config.rs @@ -6,7 +6,7 @@ use ssz_derive::{Decode, Encode}; use std::io::Write; use zstd::Encoder; -pub const DEFAULT_EPOCHS_PER_STATE_DIFF: u64 = 4; +pub const DEFAULT_EPOCHS_PER_STATE_DIFF: u64 = 16; pub const DEFAULT_BLOCK_CACHE_SIZE: usize = 64; pub const DEFAULT_STATE_CACHE_SIZE: usize = 128; pub const DEFAULT_COMPRESSION_LEVEL: i32 = 1;