Function ethcore::snapshot::take_snapshot [−][src]
pub fn take_snapshot<W: SnapshotWriter + Send>(
engine: &EthEngine,
chain: &BlockChain,
block_at: H256,
state_db: &HashDB<KeccakHasher>,
writer: W,
p: &Progress
) -> Result<(), Error>
Take a snapshot using the given blockchain, starting block hash, and database, writing into the given writer.