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

    pub struct Genesis {
        pub seal: Seal,
        pub difficulty: U256,
        pub author: Address,
        pub timestamp: u64,
        pub parent_hash: H256,
        pub gas_limit: U256,
        pub transactions_root: H256,
        pub receipts_root: H256,
        pub state_root: Option<H256>,
        pub gas_used: U256,
        pub extra_data: Vec<u8>,
    }

Genesis components.

## Fields

`seal: Seal`

Seal.

`difficulty: U256`

Difficulty.

`author: Address`

Author.

`timestamp: u64`

Timestamp.

`parent_hash: H256`

Parent hash.

`gas_limit: U256`

Gas limit.

`transactions_root: H256`

Transactions root.

`receipts_root: H256`

Receipts root.

`state_root: Option<H256>`

State root.

`gas_used: U256`

Gas used.

`extra_data: Vec<u8>`

Extra data.

## Trait Implementations

### `impl From<Genesis> for Genesis`
[src]

#### `fn from(g: Genesis) -> 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`)