# 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 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 state 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

`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]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl PartialEq for ClientConfig`
[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`

This method tests for `!=`.

### `impl Default for ClientConfig`
[src]

#### `fn default() -> ClientConfig`

Returns the "default value" for a type. Read more

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)