f6c3d4c695
* Use upstream rocksdb …by way of https://github.com/paritytech/parity-common/pull/257 by @ordian. * Hint at how `parity db reset` works in the error message * migration-rocksdb: fix build * Cargo.toml: use git dependency instead of path * update to latest kvdb-rocksdb * fix tests * saner default for light client * rename open_db to open_db_light * update to latest kvdb-rocksdb * moar update to latest kvdb-rocksdb * even moar update to latest kvdb-rocksdb * use kvdb-rocksdb from crates.io * Update parity/db/rocksdb/helpers.rs * add docs to memory_budget division
67 lines
2.1 KiB
TOML
67 lines
2.1 KiB
TOML
[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"
|
|
|
|
[[bench]]
|
|
name = "to_fat_rlps"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
account-db = { path = "../account-db" }
|
|
account-state = { path = "../account-state" }
|
|
blockchain = { package = "ethcore-blockchain", path = "../blockchain" }
|
|
bloom-journal = { package = "ethcore-bloom-journal", path = "../../util/bloom" }
|
|
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" }
|
|
ethereum-types = "0.8.0"
|
|
ethtrie = { package = "patricia-trie-ethereum", path = "../../util/patricia-trie-ethereum" }
|
|
hash-db = "0.15.0"
|
|
itertools = "0.5"
|
|
journaldb = { path = "../../util/journaldb" }
|
|
keccak-hash = "0.4.0"
|
|
keccak-hasher = { path = "../../util/keccak-hasher" }
|
|
kvdb = "0.1"
|
|
log = "0.4.8"
|
|
num_cpus = "1.10.1"
|
|
rand = "0.7"
|
|
rand_xorshift = "0.2"
|
|
parking_lot = "0.9"
|
|
rlp = "0.4.2"
|
|
rlp_derive = { path = "../../util/rlp-derive" }
|
|
scopeguard = "1.0.0"
|
|
snappy = { package = "parity-snappy", version ="0.1.0" }
|
|
state-db = { path = "../state-db" }
|
|
trie-db = "0.16.0"
|
|
triehash = { package = "triehash-ethereum", version = "0.2", path = "../../util/triehash-ethereum" }
|
|
|
|
[dev-dependencies]
|
|
accounts = { package = "ethcore-accounts", path = "../../accounts" }
|
|
criterion = "0.3.0"
|
|
engine = { path = "../engine", features = ["test-helpers"] }
|
|
env_logger = "0.5"
|
|
ethabi = "9.0.1"
|
|
ethabi-contract = "9.0.0"
|
|
ethabi-derive = "9.0.1"
|
|
ethcore = { path = "..", features = ["test-helpers"] }
|
|
ethkey = { path = "../../accounts/ethkey" }
|
|
kvdb-rocksdb = "0.2.0"
|
|
lazy_static = { version = "1.3" }
|
|
spec = { path = "../spec" }
|
|
tempdir = "0.3"
|
|
trie-standardmap = "0.15.0"
|
|
# 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 = []
|