# Struct ethcore::spec::spec::CommonParams [−] [src]

    pub struct CommonParams {
        pub account_start_nonce: U256,
        pub maximum_extra_data_size: usize,
        pub network_id: u64,
        pub chain_id: u64,
        pub subprotocol_name: String,
        pub min_gas_limit: U256,
        pub fork_block: Option<(BlockNumber, H256)>,
        pub eip98_transition: BlockNumber,
    }

Parameters common to all engines.

## Fields

`account_start_nonce: U256`

Account start nonce.

`maximum_extra_data_size: usize`

Maximum size of extra data.

`network_id: u64`

Network id.

`chain_id: u64`

Chain id.

`subprotocol_name: String`

Main subprotocol name.

`min_gas_limit: U256`

Minimum gas limit.

`fork_block: Option<(BlockNumber, H256)>`

Fork block to check.

`eip98_transition: BlockNumber`

Number of first block where EIP-98 rules begin.

## Trait Implementations

### `impl Debug for CommonParams`
[src]

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

Formats the value using the given formatter.

### `impl PartialEq for CommonParams`
[src]

#### `fn eq(&self, __arg_0: &CommonParams) -> bool`

This method tests for `self` and `other` values to be equal, and is used by `==`. Read more

#### `fn ne(&self, __arg_0: &CommonParams) -> bool`

This method tests for `!=`.

### `impl Clone for CommonParams`
[src]

#### `fn clone(&self) -> CommonParams`

Returns a copy of the value. Read more

#### `fn clone_from(&mut self, source: &Self)`
1.0.0

Performs copy-assignment from `source`. Read more

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

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

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

### `impl From<Params> for CommonParams`
[src]

#### `fn from(p: Params) -> Self`

Performs the conversion.

# 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`)