4926e3967f
## Issue Addressed #2847 ## Proposed Changes Add under a feature flag the required changes to subscribe to long lived subnets in a deterministic way ## Additional Info There is an additional required change that is actually searching for peers using the prefix, but I find that it's best to make this change in the future
52 lines
1.5 KiB
TOML
52 lines
1.5 KiB
TOML
[package]
|
|
name = "network"
|
|
version = "0.2.0"
|
|
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
|
edition = "2021"
|
|
|
|
[dev-dependencies]
|
|
sloggers = { version = "2.1.1", features = ["json"] }
|
|
genesis = { path = "../genesis" }
|
|
matches = "0.1.8"
|
|
exit-future = "0.2.0"
|
|
slog-term = "2.6.0"
|
|
slog-async = "2.5.0"
|
|
environment = { path = "../../lighthouse/environment" }
|
|
|
|
[dependencies]
|
|
beacon_chain = { path = "../beacon_chain" }
|
|
store = { path = "../store" }
|
|
lighthouse_network = { path = "../lighthouse_network" }
|
|
types = { path = "../../consensus/types" }
|
|
slot_clock = { path = "../../common/slot_clock" }
|
|
slog = { version = "2.5.2", features = ["max_level_trace"] }
|
|
hex = "0.4.2"
|
|
eth2_ssz = "0.4.1"
|
|
eth2_ssz_types = "0.2.2"
|
|
futures = "0.3.7"
|
|
error-chain = "0.12.4"
|
|
tokio = { version = "1.14.0", features = ["full"] }
|
|
tokio-stream = "0.1.3"
|
|
smallvec = "1.6.1"
|
|
rand = "0.8.5"
|
|
fnv = "1.0.7"
|
|
rlp = "0.5.0"
|
|
lazy_static = "1.4.0"
|
|
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
|
|
logging = { path = "../../common/logging" }
|
|
task_executor = { path = "../../common/task_executor" }
|
|
igd = "0.11.1"
|
|
itertools = "0.10.0"
|
|
num_cpus = "1.13.0"
|
|
lru_cache = { path = "../../common/lru_cache" }
|
|
if-addrs = "0.6.4"
|
|
strum = "0.24.0"
|
|
tokio-util = { version = "0.6.3", features = ["time"] }
|
|
derivative = "2.2.0"
|
|
delay_map = "0.1.1"
|
|
ethereum-types = { version = "0.12.1", optional = true }
|
|
|
|
[features]
|
|
deterministic_long_lived_attnets = [ "ethereum-types" ]
|
|
# default = ["deterministic_long_lived_attnets"]
|