Function ethcore::snapshot::chunk_state[][src]

pub fn chunk_state<'a>(
    db: &HashDB<KeccakHasher>,
    root: &H256,
    writer: &Mutex<SnapshotWriter + 'a>,
    progress: &'a Progress
) -> Result<Vec<H256>, Error>

Walk the given state database starting from the given root, creating chunks and writing them out.

Returns a list of hashes of chunks created, or any error it may have encountered.