Struct ckb_app_config::StoreConfig [−][src]
pub struct StoreConfig {
pub header_cache_size: usize,
pub cell_data_cache_size: usize,
pub block_proposals_cache_size: usize,
pub block_tx_hashes_cache_size: usize,
pub block_uncles_cache_size: usize,
pub block_extensions_cache_size: usize,
pub freezer_enable: bool,
}Expand description
Store config options.
Fields
header_cache_size: usizeThe maximum number of cached block headers.
cell_data_cache_size: usizeThe maximum number of cached cell data.
block_proposals_cache_size: usizeThe maximum number of blocks which proposals section is cached.
block_tx_hashes_cache_size: usizeThe maximum number of blocks which tx hashes are cached.
block_uncles_cache_size: usizeThe maximum number of blocks which uncles section is cached.
block_extensions_cache_size: usizeThe maximum number of blocks which extension section is cached.
freezer_enable: boolwhether enable freezer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more