2d8e2dd7f5
* Implement slashing protection Roll-up of #588 with some conflicts resolved * WIP improvements * Require slot uniqueness for blocks (rather than epochs) * Native DB support for Slot and Epoch * Simplify surrounding/surrounded-by queries * Implement unified slashing protection database A single SQL database saves on open file descriptors. * Make slashing protection concurrency safe. Revive tests, add parallel tests. * Some simplifications * Auto-registration, test clean-ups * More tests, clean-ups, hardening * Fix comments in BLS * Optimise bulk validator registration * Delete outdated tests * Use bundled SQLite in slashing protection * Auto-register validators in simulation * Use real signing_root in slashing protection * Update book for --auto-register * Refine log messages and help flags * Correct typo in Cargo.toml authors * Fix merge conflicts * Safer error handling in sqlite slot/epoch * Address review comments * Add attestation test mutating block root Co-authored-by: pscott <scottpiriou@gmail.com>
48 lines
1.5 KiB
TOML
48 lines
1.5 KiB
TOML
[package]
|
|
name = "validator_client"
|
|
version = "0.1.2"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com>", "Luke Anderson <luke@lukeanderson.com.au>"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "validator_client"
|
|
path = "src/lib.rs"
|
|
|
|
[dev-dependencies]
|
|
tokio = {version = "0.2.20", features = ["time", "rt-threaded", "macros"]}
|
|
|
|
[dependencies]
|
|
eth2_ssz = "0.1.2"
|
|
eth2_config = { path = "../eth2/utils/eth2_config" }
|
|
tree_hash = "0.1.0"
|
|
clap = "2.33.0"
|
|
eth2_interop_keypairs = { path = "../eth2/utils/eth2_interop_keypairs" }
|
|
slashing_protection = { path = "./slashing_protection" }
|
|
slot_clock = { path = "../eth2/utils/slot_clock" }
|
|
rest_types = { path = "../eth2/utils/rest_types" }
|
|
types = { path = "../eth2/types" }
|
|
serde = "1.0.110"
|
|
serde_derive = "1.0.110"
|
|
serde_json = "1.0.52"
|
|
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_trace"] }
|
|
slog-async = "2.5.0"
|
|
slog-term = "2.5.0"
|
|
tokio = {version = "0.2.20", features = ["time"]}
|
|
error-chain = "0.12.2"
|
|
bincode = "1.2.1"
|
|
futures = { version = "0.3.5", features = ["compat"] }
|
|
dirs = "2.0.2"
|
|
logging = { path = "../eth2/utils/logging" }
|
|
environment = { path = "../lighthouse/environment" }
|
|
parking_lot = "0.10.2"
|
|
exit-future = "0.2.0"
|
|
libc = "0.2.69"
|
|
eth2_ssz_derive = "0.1.0"
|
|
hex = "0.4.2"
|
|
deposit_contract = { path = "../eth2/utils/deposit_contract" }
|
|
bls = { path = "../eth2/utils/bls" }
|
|
remote_beacon_node = { path = "../eth2/utils/remote_beacon_node" }
|
|
tempdir = "0.3.7"
|
|
rayon = "1.3.0"
|
|
web3 = "0.10.0"
|