2015-11-24 20:57:45 +01:00
|
|
|
[package]
|
2019-06-25 08:15:13 +02:00
|
|
|
description = "Parity Ethereum (EthCore) Library"
|
2016-12-11 19:14:42 +01:00
|
|
|
homepage = "http://parity.io"
|
2015-11-24 21:25:07 +01:00
|
|
|
license = "GPL-3.0"
|
2016-01-17 13:11:25 +01:00
|
|
|
name = "ethcore"
|
2018-04-25 16:25:43 +02:00
|
|
|
version = "1.12.0"
|
2016-12-11 19:14:42 +01:00
|
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
2015-11-24 22:21:31 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2019-08-15 17:59:22 +02:00
|
|
|
account-state = { path = "account-state" }
|
2019-06-27 13:34:40 +02:00
|
|
|
ansi_term = "0.11"
|
2019-08-23 15:32:58 +02:00
|
|
|
basic-authority = { path = "./engines/basic-authority", optional = true} # used by test-helpers feature
|
2019-01-04 14:05:46 +01:00
|
|
|
blooms-db = { path = "../util/blooms-db", optional = true }
|
2019-08-13 12:33:34 +02:00
|
|
|
client-traits = { path = "./client-traits" }
|
2019-10-03 16:52:29 +02:00
|
|
|
common-types = { path = "./types" }
|
2019-08-15 17:59:22 +02:00
|
|
|
engine = { path = "./engine" }
|
2019-01-08 15:07:20 +01:00
|
|
|
env_logger = { version = "0.5", optional = true }
|
2019-08-23 15:32:58 +02:00
|
|
|
ethash = { path = "../ethash", optional = true }
|
|
|
|
ethjson = { path = "../json", optional = true }
|
2019-01-04 14:05:46 +01:00
|
|
|
ethcore-blockchain = { path = "./blockchain" }
|
2019-01-16 19:52:21 +01:00
|
|
|
ethcore-call-contract = { path = "./call-contract" }
|
2019-01-04 14:05:46 +01:00
|
|
|
ethcore-db = { path = "./db" }
|
2017-04-03 09:40:18 +02:00
|
|
|
ethcore-io = { path = "../util/io" }
|
2018-01-11 17:49:10 +01:00
|
|
|
ethcore-miner = { path = "../miner" }
|
2018-12-28 10:33:49 +01:00
|
|
|
ethcore-stratum = { path = "../miner/stratum", optional = true }
|
2019-10-08 14:18:44 +02:00
|
|
|
ethereum-types = "0.8.0"
|
2017-07-12 13:09:17 +02:00
|
|
|
evm = { path = "evm" }
|
2019-08-22 18:25:49 +02:00
|
|
|
executive-state = { path = "executive-state" }
|
2019-04-12 13:36:49 +02:00
|
|
|
futures = "0.1"
|
2019-08-15 15:36:48 +02:00
|
|
|
hash-db = "0.15.0"
|
2017-04-03 09:40:18 +02:00
|
|
|
itertools = "0.5"
|
2019-01-04 14:05:46 +01:00
|
|
|
journaldb = { path = "../util/journaldb" }
|
2019-10-08 14:18:44 +02:00
|
|
|
keccak-hash = "0.4.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
kvdb = "0.1"
|
2019-09-27 23:29:14 +02:00
|
|
|
kvdb-memorydb = { version = "0.1.2", optional = true }
|
2019-12-03 16:59:11 +01:00
|
|
|
kvdb-rocksdb = { version = "0.2.0", optional = true }
|
2019-08-28 10:09:42 +02:00
|
|
|
lazy_static = { version = "1.3", optional = true }
|
2018-08-10 01:04:10 +02:00
|
|
|
log = "0.4"
|
2019-08-22 18:25:49 +02:00
|
|
|
macros = { path = "../util/macros", optional = true }
|
2019-08-13 12:33:34 +02:00
|
|
|
machine = { path = "./machine" }
|
2019-01-04 14:05:46 +01:00
|
|
|
memory-cache = { path = "../util/memory-cache" }
|
|
|
|
parity-bytes = "0.1"
|
2019-09-27 23:29:14 +02:00
|
|
|
parking_lot = "0.9"
|
2019-08-23 15:32:58 +02:00
|
|
|
pod = { path = "pod", optional = true }
|
2019-11-21 11:08:49 +01:00
|
|
|
trie-db = "0.16.0"
|
2019-10-23 13:03:46 +02:00
|
|
|
parity-crypto = { version = "0.4.2", features = ["publickey"], optional = true }
|
2019-01-04 14:05:46 +01:00
|
|
|
patricia-trie-ethereum = { path = "../util/patricia-trie-ethereum" }
|
2019-10-18 15:12:16 +02:00
|
|
|
rand = "0.7"
|
|
|
|
rand_xorshift = "0.2"
|
2019-07-06 16:16:53 +02:00
|
|
|
rayon = "1.1"
|
2019-10-03 15:15:25 +02:00
|
|
|
registrar = { path = "../util/registrar" }
|
2019-06-03 15:36:21 +02:00
|
|
|
rlp = "0.4.0"
|
2019-09-11 17:35:50 +02:00
|
|
|
rustc-hex = "2"
|
2019-10-24 16:46:32 +02:00
|
|
|
scopeguard = "1.0.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
2019-09-03 11:29:25 +02:00
|
|
|
snapshot = { path = "snapshot" }
|
2019-08-23 15:32:58 +02:00
|
|
|
spec = { path = "spec" }
|
2019-07-08 23:01:47 +02:00
|
|
|
state-db = { path = "state-db" }
|
2019-06-03 15:36:21 +02:00
|
|
|
tempdir = { version = "0.3", optional = true }
|
2019-07-08 18:17:48 +02:00
|
|
|
trace = { path = "trace" }
|
2018-09-04 20:13:51 +02:00
|
|
|
trace-time = "0.1"
|
2019-08-15 17:59:22 +02:00
|
|
|
trie-vm-factories = { path = "trie-vm-factories" }
|
2019-01-04 14:05:46 +01:00
|
|
|
triehash-ethereum = { version = "0.2", path = "../util/triehash-ethereum" }
|
|
|
|
unexpected = { path = "../util/unexpected" }
|
2018-12-28 10:33:49 +01:00
|
|
|
using_queue = { path = "../miner/using-queue" }
|
2019-08-28 10:09:42 +02:00
|
|
|
verification = { path = "./verification" }
|
2017-08-01 12:37:57 +02:00
|
|
|
vm = { path = "vm" }
|
2015-12-02 21:49:57 +01:00
|
|
|
|
2018-02-19 12:03:54 +01:00
|
|
|
[dev-dependencies]
|
2019-09-03 11:29:25 +02:00
|
|
|
account-db = { path = "account-db" }
|
2019-01-04 14:05:46 +01:00
|
|
|
blooms-db = { path = "../util/blooms-db" }
|
2019-09-05 19:28:01 +02:00
|
|
|
criterion = "0.3"
|
2019-08-15 17:59:22 +02:00
|
|
|
engine = { path = "./engine", features = ["test-helpers"] }
|
2019-01-04 14:05:46 +01:00
|
|
|
env_logger = "0.5"
|
2019-02-07 14:34:24 +01:00
|
|
|
ethcore-accounts = { path = "../accounts" }
|
2019-09-12 22:56:59 +02:00
|
|
|
ethcore-builtin = { path = "./builtin" }
|
2019-09-10 20:46:50 +02:00
|
|
|
ethjson = { path = "../json", features = ["test-helpers"] }
|
2019-10-23 13:03:46 +02:00
|
|
|
parity-crypto = { version = "0.4.2", features = ["publickey"] }
|
2019-02-11 18:08:12 +01:00
|
|
|
fetch = { path = "../util/fetch" }
|
2019-09-27 23:29:14 +02:00
|
|
|
kvdb-memorydb = "0.1.2"
|
2019-12-03 16:59:11 +01:00
|
|
|
kvdb-rocksdb = "0.2.0"
|
2019-09-12 22:56:59 +02:00
|
|
|
lazy_static = "1.3"
|
2019-08-15 17:59:22 +02:00
|
|
|
machine = { path = "./machine", features = ["test-helpers"] }
|
2019-08-22 18:25:49 +02:00
|
|
|
macros = { path = "../util/macros" }
|
2019-02-11 18:08:12 +01:00
|
|
|
parity-runtime = { path = "../util/runtime" }
|
2019-06-28 10:27:59 +02:00
|
|
|
serde_json = "1.0"
|
2019-08-28 10:09:42 +02:00
|
|
|
stats = { path = "../util/stats" }
|
2019-09-11 17:35:50 +02:00
|
|
|
pod = { path = "pod" }
|
2018-06-27 20:25:49 +02:00
|
|
|
tempdir = "0.3"
|
2019-08-15 15:36:48 +02:00
|
|
|
trie-standardmap = "0.15.0"
|
2018-02-19 12:03:54 +01:00
|
|
|
|
2016-01-17 13:11:25 +01:00
|
|
|
[features]
|
2019-08-22 18:25:49 +02:00
|
|
|
parity = ["work-notify", "price-info", "stratum", "macros"]
|
2018-07-13 12:36:58 +02:00
|
|
|
# Large optional features that are enabled by default for Parity,
|
|
|
|
# but might be omitted for other dependent crates.
|
|
|
|
work-notify = ["ethcore-miner/work-notify"]
|
|
|
|
price-info = ["ethcore-miner/price-info"]
|
2019-09-13 11:13:41 +02:00
|
|
|
stratum = [
|
|
|
|
"ethash",
|
|
|
|
"ethcore-stratum"
|
|
|
|
]
|
|
|
|
|
2018-07-13 12:36:58 +02:00
|
|
|
|
2018-07-13 16:20:24 +02:00
|
|
|
# Disables seal verification for mined blocks.
|
|
|
|
# This allows you to submit any seal via RPC to test and benchmark
|
|
|
|
# how fast pending block get's created while running on the mainnet.
|
|
|
|
miner-debug = []
|
2018-04-13 17:34:27 +02:00
|
|
|
# Display EVM debug traces.
|
2018-06-22 11:00:19 +02:00
|
|
|
evm-debug = ["evm/evm-debug"]
|
2018-04-13 17:34:27 +02:00
|
|
|
# Display EVM debug traces when running tests.
|
2017-12-29 15:29:18 +01:00
|
|
|
evm-debug-tests = ["evm-debug", "evm/evm-debug-tests"]
|
2018-04-13 17:34:27 +02:00
|
|
|
# Measure time of transaction execution.
|
|
|
|
# Whenever the transaction execution time (in millis) exceeds the value of
|
|
|
|
# SLOW_TX_DURATION env variable (provided compile time!)
|
|
|
|
# EVM debug traces are printed.
|
|
|
|
slow-blocks = []
|
|
|
|
# Run JSON consensus tests.
|
2019-08-28 10:09:42 +02:00
|
|
|
json-tests = ["env_logger", "test-helpers", "lazy_static", "machine/test-helpers"]
|
2018-04-13 17:34:27 +02:00
|
|
|
# Run memory/cpu heavy tests.
|
2016-01-21 16:08:09 +01:00
|
|
|
test-heavy = []
|
2018-06-04 15:58:44 +02:00
|
|
|
# Compile test helpers
|
2019-08-23 15:32:58 +02:00
|
|
|
# note[dvdplm]: "basic-authority/test-helpers" is needed so that `generate_dummy_client_with_spec` works
|
2019-09-03 11:29:25 +02:00
|
|
|
test-helpers = [
|
|
|
|
"blooms-db",
|
2019-09-25 10:02:04 +02:00
|
|
|
"ethjson/test-helpers",
|
2019-10-23 13:03:46 +02:00
|
|
|
"parity-crypto",
|
2019-09-03 11:29:25 +02:00
|
|
|
"kvdb-memorydb",
|
|
|
|
"kvdb-rocksdb",
|
|
|
|
"macros",
|
|
|
|
"pod",
|
|
|
|
"tempdir",
|
|
|
|
"basic-authority/test-helpers"
|
|
|
|
]
|
2018-11-06 14:22:44 +01:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "builtin"
|
|
|
|
harness = false
|