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
name: String
Spec name.
data_dir: Option<String>
Special fork name.
engine: Engine
Engine.
params: Params
Spec params.
genesis: Genesis
Genesis header.
accounts: State
Genesis state.
nodes: Option<Vec<String>>
Boot nodes.
hardcoded_sync: Option<HardcodedSync>
Hardcoded synchronization for the light client.
Methods
impl Spec
[src]
impl Spec
Trait Implementations
impl Debug for Spec
[src]
impl Debug for Spec
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 Spec
[src]
impl PartialEq for Spec