[package]
description = "Block verification utilities."
name = "verification"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0"

[[bench]]
name = "verification"
harness = false
required-features = ['bench']

[dependencies]
blockchain = { package = "ethcore-blockchain", path = "../blockchain" }
call-contract = { package = "ethcore-call-contract", path = "../call-contract" }
client-traits = { path = "../client-traits" }
common-types = { path = "../types" }
engine = { path = "../engine" }
ethcore-io = { path = "../../util/io" }
ethereum-types = "0.8.0"
keccak-hash = "0.4.0"
len-caching-lock = { path = "../../util/len-caching-lock" }
log = "0.4"
num_cpus = "1.2"
parity-bytes = "0.1.0"
parity-util-mem = "0.3.0"
parking_lot = "0.9"
rlp = "0.4.2"
time-utils = { path = "../../util/time-utils" }
triehash = { package = "triehash-ethereum", version = "0.2",  path = "../../util/triehash-ethereum" }
unexpected = { path = "../../util/unexpected" }

[dev-dependencies]
criterion = "0.3"
ethcore = { path = "../", features = ["test-helpers"] }
parity-crypto = { version = "0.4.2", features = ["publickey"] }
machine = { path = "../machine" }
null-engine = { path = "../engines/null-engine" }
spec = { path = "../spec" }

# Benches
ethash = { package = "ethash-engine", path = "../engines/ethash" }
tempdir = "0.3.7"

[features]
# Used to selectively expose code for benchmarks.
bench = []
