Struct solana_runtime::accounts_db::AccountsDbConfig
source · pub struct AccountsDbConfig {
pub index: Option<AccountsIndexConfig>,
pub accounts_hash_cache_path: Option<PathBuf>,
pub filler_accounts_config: FillerAccountsConfig,
pub write_cache_limit_bytes: Option<u64>,
pub ancient_append_vec_offset: Option<i64>,
pub skip_initial_hash_calc: bool,
pub exhaustively_verify_refcounts: bool,
pub assert_stakes_cache_consistency: bool,
}
Fields§
§index: Option<AccountsIndexConfig>
§accounts_hash_cache_path: Option<PathBuf>
§filler_accounts_config: FillerAccountsConfig
§write_cache_limit_bytes: Option<u64>
§ancient_append_vec_offset: Option<i64>
if None, ancient append vecs are set to ANCIENT_APPEND_VEC_DEFAULT_OFFSET Some(offset) means include slots up to (max_slot - (slots_per_epoch - ‘offset’))
skip_initial_hash_calc: bool
§exhaustively_verify_refcounts: bool
§assert_stakes_cache_consistency: bool
when stakes cache consistency check occurs, assert that cached accounts match accounts db
Trait Implementations§
source§impl Clone for AccountsDbConfig
impl Clone for AccountsDbConfig
source§fn clone(&self) -> AccountsDbConfig
fn clone(&self) -> AccountsDbConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccountsDbConfig
impl Debug for AccountsDbConfig
source§impl Default for AccountsDbConfig
impl Default for AccountsDbConfig
source§fn default() -> AccountsDbConfig
fn default() -> AccountsDbConfig
Returns the “default value” for a type. Read more