Struct ethjson::spec::spec::Spec[][src]

pub struct Spec {
    pub name: String,
    pub data_dir: Option<String>,
    pub engine: Engine,
    pub params: Params,
    pub genesis: Genesis,
    pub accounts: State,
    pub nodes: Option<Vec<String>>,
    pub hardcoded_sync: Option<HardcodedSync>,
}

Spec deserialization.

Fields

Spec name.

Special fork name.

Engine.

Spec params.

Genesis header.

Genesis state.

Boot nodes.

Hardcoded synchronization for the light client.

Methods

impl Spec
[src]

Loads test from json.

Trait Implementations

impl Debug for Spec
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Spec
[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 Spec

impl Sync for Spec