2019-09-03 11:29:25 +02:00
|
|
|
[package]
|
|
|
|
description = "Take and restore snapshots of the blockchain and read/write it in chunks from/to disk"
|
|
|
|
name = "snapshot"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
edition = "2018"
|
|
|
|
license = "GPL-3.0"
|
|
|
|
|
2019-11-15 12:27:24 +01:00
|
|
|
[[bench]]
|
|
|
|
name = "to_fat_rlps"
|
|
|
|
harness = false
|
|
|
|
|
2019-09-03 11:29:25 +02:00
|
|
|
[dependencies]
|
|
|
|
account-db = { path = "../account-db" }
|
|
|
|
account-state = { path = "../account-state" }
|
|
|
|
blockchain = { package = "ethcore-blockchain", path = "../blockchain" }
|
2020-04-06 21:32:34 +02:00
|
|
|
bloom-journal = { package = "accounts-bloom", path = "../../util/bloom" }
|
2019-09-03 11:29:25 +02:00
|
|
|
bytes = { package = "parity-bytes", version = "0.1.0" }
|
|
|
|
client-traits = { path = "../client-traits" }
|
|
|
|
common-types = { path = "../types" }
|
|
|
|
crossbeam-utils = "0.6"
|
|
|
|
engine = { path = "../engine" }
|
|
|
|
ethcore-db = { path = "../db" }
|
|
|
|
ethcore-io = { path = "../../util/io" }
|
2019-10-08 14:18:44 +02:00
|
|
|
ethereum-types = "0.8.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
ethtrie = { package = "patricia-trie-ethereum", path = "../../util/patricia-trie-ethereum" }
|
|
|
|
hash-db = "0.15.0"
|
2020-02-07 17:23:45 +01:00
|
|
|
itertools = "0.8.2"
|
2019-09-03 11:29:25 +02:00
|
|
|
journaldb = { path = "../../util/journaldb" }
|
2019-10-08 14:18:44 +02:00
|
|
|
keccak-hash = "0.4.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
keccak-hasher = { path = "../../util/keccak-hasher" }
|
2020-02-07 17:23:45 +01:00
|
|
|
kvdb = "0.4.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
log = "0.4.8"
|
|
|
|
num_cpus = "1.10.1"
|
2019-10-18 15:12:16 +02:00
|
|
|
rand = "0.7"
|
|
|
|
rand_xorshift = "0.2"
|
2020-02-07 17:23:45 +01:00
|
|
|
parking_lot = "0.10.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
rlp = "0.4.2"
|
2020-02-13 15:34:51 +01:00
|
|
|
rlp-derive = "0.1"
|
2019-10-24 16:46:32 +02:00
|
|
|
scopeguard = "1.0.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
snappy = { package = "parity-snappy", version ="0.1.0" }
|
|
|
|
state-db = { path = "../state-db" }
|
2020-02-07 17:23:45 +01:00
|
|
|
trie-db = "0.20.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
triehash = { package = "triehash-ethereum", version = "0.2", path = "../../util/triehash-ethereum" }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
accounts = { package = "ethcore-accounts", path = "../../accounts" }
|
2019-11-15 12:27:24 +01:00
|
|
|
criterion = "0.3.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
engine = { path = "../engine", features = ["test-helpers"] }
|
|
|
|
env_logger = "0.5"
|
2019-10-08 14:18:44 +02:00
|
|
|
ethabi = "9.0.1"
|
|
|
|
ethabi-contract = "9.0.0"
|
|
|
|
ethabi-derive = "9.0.1"
|
2019-09-03 11:29:25 +02:00
|
|
|
ethcore = { path = "..", features = ["test-helpers"] }
|
|
|
|
ethkey = { path = "../../accounts/ethkey" }
|
2020-03-17 16:44:27 +01:00
|
|
|
kvdb-rocksdb = "0.6.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
lazy_static = { version = "1.3" }
|
|
|
|
spec = { path = "../spec" }
|
2020-03-29 22:31:17 +02:00
|
|
|
tempfile = "3.1"
|
2019-09-03 11:29:25 +02:00
|
|
|
trie-standardmap = "0.15.0"
|
2019-09-10 22:44:33 +02:00
|
|
|
# Note[dvdplm]: Ensure the snapshot tests are included in the dependency tree, which in turn means that
|
|
|
|
# `cargo test --all` runs the tests.
|
|
|
|
snapshot-tests = { path = "./snapshot-tests" }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
test-helpers = []
|