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: Seal
Seal.
difficulty: Uint
Difficulty.
Block author, defaults to 0.
timestamp: Option<Uint>
Block timestamp, defaults to 0.
parent_hash: Option<H256>
Parent hash, defaults to 0.
gas_limit: Uint
Gas limit.
transactions_root: Option<H256>
Transactions root.
receipts_root: Option<H256>
Receipts root.
state_root: Option<H256>
State root.
gas_used: Option<Uint>
Gas used.
extra_data: Option<Bytes>
Extra data.
Trait Implementations
impl Debug for Genesis
[src]
impl Debug for Genesis
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Genesis
[src]
impl PartialEq for Genesis