Struct ethcore::client::ClientConfig
[−]
[src]
pub struct ClientConfig { pub queue: QueueConfig, pub blockchain: BlockChainConfig, pub tracing: TraceConfig, pub vm_type: VMType, pub fat_db: bool, pub pruning: Algorithm, pub name: String, pub db_cache_size: Option<usize>, pub db_compaction: DatabaseCompactionProfile, pub db_wal: bool, pub mode: Mode, pub spec_name: String, pub verifier_type: VerifierType, pub state_cache_size: usize, pub jump_table_size: usize, pub history: u64, pub history_mem: usize, pub check_seal: bool, }
Client configuration. Includes configs for all sub-systems.
Fields
queue: QueueConfig
Block queue configuration.
blockchain: BlockChainConfig
Blockchain configuration.
tracing: TraceConfig
Trace configuration.
vm_type: VMType
VM type.
fat_db: bool
Fat DB enabled?
pruning: Algorithm
The JournalDB ("pruning") algorithm to use.
name: String
The name of the client instance.
db_cache_size: Option<usize>
RocksDB column cache-size if not default
db_compaction: DatabaseCompactionProfile
State db compaction profile
db_wal: bool
Should db have WAL enabled?
mode: Mode
Operating mode
spec_name: String
The chain spec name
verifier_type: VerifierType
Type of block verifier used by client.
state_cache_size: usize
State db cache-size.
jump_table_size: usize
EVM jump-tables cache size.
history: u64
Minimum state pruning history size.
history_mem: usize
Ideal memory usage for state pruning history.
check_seal: bool
Check seal valididity on block import
Trait Implementations
impl Debug for ClientConfig
[src]
impl Debug for ClientConfig
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ClientConfig
[src]
impl PartialEq for ClientConfig
fn eq(&self, __arg_0: &ClientConfig) -> bool
[src]
fn eq(&self, __arg_0: &ClientConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClientConfig) -> bool
[src]
fn ne(&self, __arg_0: &ClientConfig) -> bool
This method tests for !=
.
impl Default for ClientConfig
[src]
impl Default for ClientConfig
fn default() -> ClientConfig
[src]
fn default() -> ClientConfig
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Sync for ClientConfig