Function ethcore::snapshot::chunk_secondary
source · [−]pub fn chunk_secondary<'a>(
chunker: Box<dyn SnapshotComponents>,
chain: &'a BlockChain,
start_hash: H256,
writer: &Mutex<dyn SnapshotWriter + 'a>,
progress: &'a Progress
) -> Result<Vec<H256>, Error>
Expand description
Create and write out all secondary chunks to disk, returning a vector of all the hashes of secondary chunks created.
Secondary chunks are engine-specific, but they intend to corroborate the state data in the state chunks. Returns a list of chunk hashes, with the first having the blocks furthest from the genesis.