mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-03 17:54:28 +00:00
042e80570c
* Add logging on shutdown * Replace tokio::spawn with handle.spawn * Upgrade tokio * Add a task executor * Beacon chain tasks use task executor * Validator client tasks use task executor * Rename runtime_handle to executor * Add duration histograms; minor fixes * Cleanup * Fix logs * Fix tests * Remove random file * Get enr dependency instead of libp2p * Address some review comments * Libp2p takes a TaskExecutor * Ugly fix libp2p tests * Move TaskExecutor to own file * Upgrade Dockerfile rust version * Minor fixes * Revert "Ugly fix libp2p tests" This reverts commit 58d4bb690f52de28d893943b7504d2d0c6621429. * Pretty fix libp2p tests * Add spawn_without_exit; change Counter to Gauge * Tidy * Move log from RuntimeContext to TaskExecutor * Fix errors * Replace histogram with int_gauge for async tasks * Fix todo * Fix memory leak in test by exiting all spawned tasks at the end
54 lines
1.6 KiB
TOML
54 lines
1.6 KiB
TOML
[package]
|
|
name = "beacon_chain"
|
|
version = "0.1.2"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = ["participation_metrics"]
|
|
write_ssz_files = [] # Writes debugging .ssz files to /tmp during block processing.
|
|
participation_metrics = [] # Exposes validator participation metrics to Prometheus.
|
|
|
|
[dependencies]
|
|
eth2_config = { path = "../../common/eth2_config" }
|
|
merkle_proof = { path = "../../consensus/merkle_proof" }
|
|
store = { path = "../store" }
|
|
parking_lot = "0.10.2"
|
|
lazy_static = "1.4.0"
|
|
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
|
|
log = "0.4.8"
|
|
operation_pool = { path = "../operation_pool" }
|
|
rayon = "1.3.0"
|
|
serde = "1.0.110"
|
|
serde_derive = "1.0.110"
|
|
serde_yaml = "0.8.11"
|
|
serde_json = "1.0.52"
|
|
slog = { version = "2.5.2", features = ["max_level_trace"] }
|
|
sloggers = "1.0.0"
|
|
slot_clock = { path = "../../common/slot_clock" }
|
|
eth2_hashing = "0.1.0"
|
|
eth2_ssz = "0.1.2"
|
|
eth2_ssz_types = { path = "../../consensus/ssz_types" }
|
|
eth2_ssz_derive = "0.1.0"
|
|
state_processing = { path = "../../consensus/state_processing" }
|
|
tree_hash = "0.1.0"
|
|
types = { path = "../../consensus/types" }
|
|
tokio = "0.2.21"
|
|
eth1 = { path = "../eth1" }
|
|
websocket_server = { path = "../websocket_server" }
|
|
futures = "0.3.5"
|
|
genesis = { path = "../genesis" }
|
|
integer-sqrt = "0.1.3"
|
|
rand = "0.7.3"
|
|
proto_array_fork_choice = { path = "../../consensus/proto_array_fork_choice" }
|
|
lru = "0.4.3"
|
|
tempfile = "3.1.0"
|
|
bitvec = "0.17.4"
|
|
bls = { path = "../../crypto/bls" }
|
|
safe_arith = { path = "../../consensus/safe_arith" }
|
|
environment = { path = "../../lighthouse/environment" }
|
|
|
|
[dev-dependencies]
|
|
lazy_static = "1.4.0"
|
|
|