pub fn take_snapshot<W: SnapshotWriter + Send>(
    chunker: Box<dyn SnapshotComponents>,
    chain: &BlockChain,
    block_hash: H256,
    state_db: &dyn HashDB<KeccakHasher, DBValue>,
    writer: W,
    p: &Progress,
    processing_threads: usize
) -> Result<(), Error>
Expand description

Take a snapshot using the given blockchain, starting block hash, and database, writing into the given writer.