Struct ethcore::snapshot::ManifestData []

pub struct ManifestData {
    pub version: u64,
    pub state_hashes: Vec<H256>,
    pub block_hashes: Vec<H256>,
    pub state_root: H256,
    pub block_number: u64,
    pub block_hash: H256,
}

Manifest data.

Fields

Snapshot format version.

List of state chunk hashes.

List of block chunk hashes.

The final, expected state root.

Block number this snapshot was taken at.

Block hash this snapshot was taken at.

Methods

impl ManifestData

Important traits for Vec<u8>

Encode the manifest data to rlp.

Try to restore manifest data from raw bytes, interpreted as RLP.

Trait Implementations

impl Clone for ManifestData

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ManifestData

impl PartialEq<ManifestData> for ManifestData

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

This method tests for !=.

impl Debug for ManifestData

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ManifestData

impl Sync for ManifestData