Struct ethcore::spec::SpecHardcodedSync[][src]

pub struct SpecHardcodedSync {
    pub header: Header,
    pub total_difficulty: U256,
    pub chts: Vec<H256>,
}

Part of Spec. Describes the hardcoded synchronization parameters.

Fields

Header of the block to jump to for hardcoded sync, and total difficulty.

Total difficulty of the block to jump to.

List of hardcoded CHTs, in order. If hardcoded_sync is set, the CHTs should include the header of hardcoded_sync.

Methods

impl SpecHardcodedSync
[src]

Turns this specifications back into JSON. Useful for pretty printing.

Trait Implementations

impl From<SpecHardcodedSync> for HardcodedSync
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SpecHardcodedSync

impl Sync for SpecHardcodedSync