Trait ethcore::snapshot::io::SnapshotReader[][src]

pub trait SnapshotReader {
    fn manifest(&self) -> &ManifestData;
fn chunk(&self, hash: H256) -> Result<Bytes>; }

Something which can read compressed snapshots.

Required Methods

Get the manifest data for this snapshot.

Get raw chunk data by hash. implementation defined behavior if a chunk not in the manifest is requested.

Implementors