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