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-07-04 17:50:31 +02:00
|
|
|
account-db = { path = "account-db" }
|
2019-08-15 17:59:22 +02:00
|
|
|
account-state = { path = "account-state" }
|
2019-08-22 18:25:49 +02:00
|
|
|
authority-round = { path = "./engines/authority-round" }
|
2019-06-27 13:34:40 +02:00
|
|
|
ansi_term = "0.11"
|
2019-08-22 18:25:49 +02:00
|
|
|
basic-authority = { path = "./engines/basic-authority" }
|
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-08-22 18:25:49 +02:00
|
|
|
clique = { path = "./engines/clique" }
|
2017-07-12 13:09:17 +02:00
|
|
|
common-types = { path = "types" }
|
2019-07-06 16:16:53 +02:00
|
|
|
crossbeam-utils = "0.6"
|
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-06-03 15:36:21 +02:00
|
|
|
ethabi = "8.0"
|
|
|
|
ethabi-contract = "8.0"
|
|
|
|
ethabi-derive = "8.0"
|
2016-07-30 15:38:44 +02:00
|
|
|
ethash = { path = "../ethash" }
|
2019-08-22 18:25:49 +02:00
|
|
|
ethash-engine = { path = "./engines/ethash" }
|
2019-01-04 14:05:46 +01:00
|
|
|
ethcore-blockchain = { path = "./blockchain" }
|
2017-04-03 09:40:18 +02:00
|
|
|
ethcore-bloom-journal = { path = "../util/bloom" }
|
2019-07-07 16:59:30 +02:00
|
|
|
ethcore-builtin = { path = "./builtin" }
|
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-06-03 15:36:21 +02:00
|
|
|
ethereum-types = "0.6.0"
|
2017-04-03 09:40:18 +02:00
|
|
|
ethjson = { path = "../json" }
|
2018-12-28 10:33:49 +01:00
|
|
|
ethkey = { path = "../accounts/ethkey" }
|
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"
|
|
|
|
parity-util-mem = "0.2.0"
|
2019-08-22 18:25:49 +02:00
|
|
|
instant-seal = { path = "./engines/instant-seal" }
|
2017-04-03 09:40:18 +02:00
|
|
|
itertools = "0.5"
|
2019-01-04 14:05:46 +01:00
|
|
|
journaldb = { path = "../util/journaldb" }
|
2019-06-03 15:36:21 +02:00
|
|
|
keccak-hash = "0.2.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
keccak-hasher = { path = "../util/keccak-hasher" }
|
|
|
|
kvdb = "0.1"
|
|
|
|
kvdb-memorydb = "0.1"
|
|
|
|
kvdb-rocksdb = { version = "0.1.3", optional = true }
|
2019-08-22 18:25:49 +02:00
|
|
|
lazy_static = "1.3.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
len-caching-lock = { path = "../util/len-caching-lock" }
|
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" }
|
2019-08-22 18:25:49 +02:00
|
|
|
null-engine = { path = "./engines/null-engine" }
|
2017-04-03 09:40:18 +02:00
|
|
|
num_cpus = "1.2"
|
2019-01-04 14:05:46 +01:00
|
|
|
parity-bytes = "0.1"
|
|
|
|
parity-snappy = "0.1"
|
2019-07-05 15:19:38 +02:00
|
|
|
parking_lot = "0.8"
|
2019-08-15 15:36:48 +02:00
|
|
|
trie-db = "0.15.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
patricia-trie-ethereum = { path = "../util/patricia-trie-ethereum" }
|
2019-08-15 17:59:22 +02:00
|
|
|
pod = { path = "pod" }
|
2019-06-03 15:36:21 +02:00
|
|
|
rand = "0.6"
|
2019-08-15 17:59:22 +02:00
|
|
|
rand_xorshift = "0.1.1"
|
2019-07-06 16:16:53 +02:00
|
|
|
rayon = "1.1"
|
2019-06-03 15:36:21 +02:00
|
|
|
rlp = "0.4.0"
|
2018-12-28 10:33:49 +01:00
|
|
|
rlp_derive = { path = "../util/rlp-derive" }
|
2017-07-06 11:36:15 +02:00
|
|
|
rustc-hex = "1.0"
|
2019-01-04 14:05:46 +01:00
|
|
|
serde = "1.0"
|
|
|
|
serde_derive = "1.0"
|
2019-07-08 23:01:47 +02:00
|
|
|
state-db = { path = "state-db" }
|
2019-08-15 17:59:22 +02:00
|
|
|
stats = { path = "../util/stats" }
|
2019-06-03 15:36:21 +02:00
|
|
|
tempdir = { version = "0.3", optional = true }
|
2019-03-19 23:17:05 +01:00
|
|
|
time-utils = { path = "../util/time-utils" }
|
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" }
|
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-01-04 14:05:46 +01:00
|
|
|
blooms-db = { path = "../util/blooms-db" }
|
|
|
|
criterion = "0.2"
|
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-02-11 18:08:12 +01:00
|
|
|
fetch = { path = "../util/fetch" }
|
2019-01-04 14:05:46 +01:00
|
|
|
kvdb-rocksdb = "0.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-01-04 14:05:46 +01:00
|
|
|
rlp_compress = { path = "../util/rlp-compress" }
|
2019-06-28 10:27:59 +02:00
|
|
|
serde_json = "1.0"
|
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"]
|
|
|
|
stratum = ["ethcore-stratum"]
|
|
|
|
|
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-15 16:06:43 +02:00
|
|
|
json-tests = ["env_logger", "test-helpers", "machine/test-helpers"]
|
2018-09-25 12:24:40 +02:00
|
|
|
# Skip JSON consensus tests with pending issues.
|
2019-02-20 10:05:11 +01:00
|
|
|
ci-skip-tests = []
|
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-22 18:25:49 +02:00
|
|
|
test-helpers = ["tempdir", "kvdb-rocksdb", "blooms-db", "macros", "basic-authority/test-helpers"]
|
2018-11-06 14:22:44 +01:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "builtin"
|
|
|
|
harness = false
|