Struct ethjson::spec::genesis::Genesis[][src]

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

Spec genesis.

Fields

Seal.

Difficulty.

Block author, defaults to 0.

Block timestamp, defaults to 0.

Parent hash, defaults to 0.

Gas limit.

Transactions root.

Receipts root.

State root.

Gas used.

Extra data.

Trait Implementations

impl Debug for Genesis
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Genesis
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Genesis

impl Sync for Genesis