b457f46c81
* ethash: initial implementation of progpow * progpow: use wrapping arithmetic * progpow: cleanup comments * progpow: fix keccak_f800 * progpow: reorder definitions * progpow: general fixing * progpow: add basic tests from geth * progpow: generate c_dag and add test * progpow: fix progpow_init and progpow_loop * progpow: fix and add new test * progpow: tabify * progpow: add shared testvectors from geth and aleth * progpow: add benchmarks * progpow: don't read bytes from dag * ethash: use criterion for progpow benchmarks * progpow: dont borrow hash on fnv1a_hash * progpow: don't borrow operand on progpow merge * progpow: hardcode dag lookup function we only support light verification anyway * progpow: read double words directly from the dag * progpow: inline some small functions * progpow: remove some bounds checking from the main loop * progpow: remove unreachable match cases * progpow: remove bounds check in keccak_f800_round * progpow: fix ptr::swap * progpow: force loop unroll in keccak_f800_round * progpow: remove unnecessary branching in progpow_loop * progpow: force loop unroll in fill_mix * progpow: silence unused warning * progpow: dont run last keccak_f800_round out of the loop rustc generates the same assembly, it unrolls the loop * progpow: fix output of keccak_f800_short * ethcore: support progpow in ethash engine * ethash: fix typo * ethcore, ethash: fix tests * json: fix ethash spec tests * ethash: update quick_get_difficulty for progpow * ethash: drop light cache on progpow transition block * ethash: fix quick_get_difficulty tests * progpow: update to spec v0.9.0 * progpow: update to spec v0.9.1 * progpow: update to spec v0.9.2 * ethash: rename progpow benchmarks * fix Cargo.lock bad merge * ethash: only export modules for benchmarks * ethash: progpow: remove unsafe unchecked indexing * ethash: create enum for pow algorithm * ethash: box the progpow cdag * ethash: skip slow progpow test vectors on ci * ethash: don't skip progpow test vectors they don't take too long when running in release mode which is the case for CI. * ethash: progpow: update copyright date Co-Authored-By: andresilva <andre.beat@gmail.com> * ethcore: remove verification of ci-skip-tests on non-test builds
146 lines
4.2 KiB
TOML
146 lines
4.2 KiB
TOML
[package]
|
|
description = "Parity Ethereum client"
|
|
name = "parity-ethereum"
|
|
# NOTE Make sure to update util/version/Cargo.toml as well
|
|
version = "2.4.0"
|
|
license = "GPL-3.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
|
|
[dependencies]
|
|
blooms-db = { path = "util/blooms-db" }
|
|
log = "0.4"
|
|
rustc-hex = "1.0"
|
|
docopt = "1.0"
|
|
clap = "2"
|
|
term_size = "0.3"
|
|
textwrap = "0.9"
|
|
num_cpus = "1.2"
|
|
number_prefix = "0.2"
|
|
rpassword = "1.0"
|
|
semver = "0.9"
|
|
ansi_term = "0.10"
|
|
parking_lot = "0.7"
|
|
regex = "1.0"
|
|
atty = "0.2.8"
|
|
toml = "0.4"
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
serde_derive = "1.0"
|
|
futures = "0.1"
|
|
fdlimit = "0.1"
|
|
ctrlc = { git = "https://github.com/paritytech/rust-ctrlc.git" }
|
|
jsonrpc-core = "10.0.1"
|
|
parity-bytes = "0.1"
|
|
common-types = { path = "ethcore/types" }
|
|
ethcore = { path = "ethcore", features = ["parity"] }
|
|
ethcore-accounts = { path = "accounts", optional = true }
|
|
ethcore-blockchain = { path = "ethcore/blockchain" }
|
|
ethcore-call-contract = { path = "ethcore/call-contract"}
|
|
ethcore-db = { path = "ethcore/db" }
|
|
ethcore-io = { path = "util/io" }
|
|
ethcore-light = { path = "ethcore/light" }
|
|
ethcore-logger = { path = "parity/logger" }
|
|
ethcore-miner = { path = "miner" }
|
|
ethcore-network = { path = "util/network" }
|
|
ethcore-private-tx = { path = "ethcore/private-tx" }
|
|
ethcore-service = { path = "ethcore/service" }
|
|
ethcore-sync = { path = "ethcore/sync" }
|
|
ethereum-types = "0.4"
|
|
ethkey = { path = "accounts/ethkey" }
|
|
ethstore = { path = "accounts/ethstore" }
|
|
node-filter = { path = "ethcore/node-filter" }
|
|
rlp = { version = "0.3.0", features = ["ethereum"] }
|
|
cli-signer= { path = "cli-signer" }
|
|
parity-daemonize = "0.3"
|
|
parity-hash-fetch = { path = "updater/hash-fetch" }
|
|
parity-ipfs-api = { path = "ipfs" }
|
|
parity-local-store = { path = "miner/local-store" }
|
|
parity-runtime = { path = "util/runtime" }
|
|
parity-rpc = { path = "rpc" }
|
|
parity-updater = { path = "updater" }
|
|
parity-version = { path = "util/version" }
|
|
parity-whisper = { path = "whisper" }
|
|
parity-path = "0.1"
|
|
dir = { path = "util/dir" }
|
|
panic_hook = { path = "util/panic-hook" }
|
|
keccak-hash = "0.1"
|
|
migration-rocksdb = { path = "util/migration-rocksdb" }
|
|
kvdb = "0.1"
|
|
kvdb-rocksdb = "0.1.3"
|
|
journaldb = { path = "util/journaldb" }
|
|
|
|
ethcore-secretstore = { path = "secret-store", optional = true }
|
|
|
|
registrar = { path = "util/registrar" }
|
|
|
|
[build-dependencies]
|
|
rustc_version = "0.2"
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "0.1"
|
|
ipnetwork = "0.12.6"
|
|
tempdir = "0.3"
|
|
fake-fetch = { path = "util/fake-fetch" }
|
|
lazy_static = "1.2.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3.4", features = ["winsock2", "winuser", "shellapi"] }
|
|
|
|
[features]
|
|
default = ["accounts"]
|
|
accounts = ["ethcore-accounts", "parity-rpc/accounts"]
|
|
miner-debug = ["ethcore/miner-debug"]
|
|
json-tests = ["ethcore/json-tests"]
|
|
ci-skip-tests = ["ethcore/ci-skip-tests"]
|
|
test-heavy = ["ethcore/test-heavy"]
|
|
evm-debug = ["ethcore/evm-debug"]
|
|
evm-debug-tests = ["ethcore/evm-debug-tests"]
|
|
slow-blocks = ["ethcore/slow-blocks"]
|
|
secretstore = ["ethcore-secretstore", "ethcore-secretstore/accounts"]
|
|
final = ["parity-version/final"]
|
|
deadlock_detection = ["parking_lot/deadlock_detection"]
|
|
# to create a memory profile (requires nightly rust), use e.g.
|
|
# `heaptrack /path/to/parity <parity params>`,
|
|
# to visualize a memory profile, use `heaptrack_gui`
|
|
# or
|
|
# `valgrind --tool=massif /path/to/parity <parity params>`
|
|
# and `massif-visualizer` for visualization
|
|
memory_profiling = []
|
|
# hardcode version number 1.3.7 of parity to force an update
|
|
# in order to manually test that parity fall-over to the local version
|
|
# in case of invalid or deprecated command line arguments are entered
|
|
test-updater = ["parity-updater/test-updater"]
|
|
|
|
[lib]
|
|
path = "parity/lib.rs"
|
|
|
|
[[bin]]
|
|
path = "parity/main.rs"
|
|
name = "parity"
|
|
|
|
[profile.dev]
|
|
|
|
[profile.release]
|
|
debug = false
|
|
|
|
[workspace]
|
|
# This should only list projects that are not
|
|
# in the dependency tree in any other way
|
|
# (i.e. pretty much only standalone CLI tools)
|
|
members = [
|
|
"accounts/ethkey/cli",
|
|
"accounts/ethstore/cli",
|
|
"chainspec",
|
|
"ethcore/wasm/run",
|
|
"evmbin",
|
|
"parity-clib",
|
|
"whisper/cli",
|
|
"util/triehash-ethereum",
|
|
"util/keccak-hasher",
|
|
"util/patricia-trie-ethereum",
|
|
"util/fastmap"
|
|
]
|
|
|
|
[patch.crates-io]
|
|
heapsize = { git = "https://github.com/cheme/heapsize.git", branch = "ec-macfix" }
|