mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 19:50:37 +00:00
0c529b8d52
## Issue Addressed Closes #2048 ## Proposed Changes * Broadcast slashings when the `--slasher-broadcast` flag is provided. * In the process of implementing this I refactored the slasher service into its own crate so that it could access the network code without creating a circular dependency. I moved the responsibility for putting slashings into the op pool into the service as well, as it makes sense for it to handle the whole slashing lifecycle.
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[package]
|
|
name = "client"
|
|
version = "0.2.0"
|
|
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
|
edition = "2018"
|
|
|
|
[dev-dependencies]
|
|
sloggers = "1.0.1"
|
|
toml = "0.5.6"
|
|
|
|
[dependencies]
|
|
beacon_chain = { path = "../beacon_chain" }
|
|
store = { path = "../store" }
|
|
network = { path = "../network" }
|
|
timer = { path = "../timer" }
|
|
eth2_libp2p = { path = "../eth2_libp2p" }
|
|
parking_lot = "0.11.0"
|
|
prometheus = "0.11.0"
|
|
types = { path = "../../consensus/types" }
|
|
tree_hash = "0.1.1"
|
|
eth2_config = { path = "../../common/eth2_config" }
|
|
slot_clock = { path = "../../common/slot_clock" }
|
|
serde = "1.0.116"
|
|
serde_derive = "1.0.116"
|
|
error-chain = "0.12.4"
|
|
serde_yaml = "0.8.13"
|
|
slog = { version = "2.5.2", features = ["max_level_trace"] }
|
|
slog-async = "2.5.0"
|
|
tokio = "0.3.2"
|
|
dirs = "3.0.1"
|
|
futures = "0.3.7"
|
|
reqwest = { version = "0.10.8", features = ["native-tls-vendored"] }
|
|
url = "2.1.1"
|
|
eth1 = { path = "../eth1" }
|
|
genesis = { path = "../genesis" }
|
|
task_executor = { path = "../../common/task_executor" }
|
|
environment = { path = "../../lighthouse/environment" }
|
|
eth2_ssz = "0.1.2"
|
|
lazy_static = "1.4.0"
|
|
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
|
|
time = "0.2.22"
|
|
directory = {path = "../../common/directory"}
|
|
http_api = { path = "../http_api" }
|
|
http_metrics = { path = "../http_metrics" }
|
|
slasher = { path = "../../slasher" }
|
|
slasher_service = { path = "../../slasher/service" }
|