mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 05:48:31 +00:00
Add gossipsub as a Lighthouse behaviour (#5066)
* Move gossipsub as a lighthouse behaviour * Update dependencies, pin to corrected libp2p version * Merge latest unstable * Fix test * Remove unused dep * Fix cargo.lock * Re-order behaviour, pin upstream libp2p * Pin discv5 to latest version
This commit is contained in:
@@ -42,14 +42,29 @@ superstruct = { workspace = true }
|
||||
prometheus-client = "0.22.0"
|
||||
unused_port = { workspace = true }
|
||||
delay_map = { workspace = true }
|
||||
void = "1"
|
||||
libp2p-mplex = { git = "https://github.com/sigp/rust-libp2p/", rev = "cfa3275ca17e502799ed56e555b6c0611752e369" }
|
||||
tracing = { workspace = true }
|
||||
byteorder = { workspace = true }
|
||||
bytes = { workspace = true }
|
||||
either = { workspace = true }
|
||||
|
||||
# Local dependencies
|
||||
futures-ticker = "0.0.3"
|
||||
futures-timer = "3.0.2"
|
||||
getrandom = "0.2.11"
|
||||
hex_fmt = "0.3.0"
|
||||
instant = "0.1.12"
|
||||
quick-protobuf = "0.8"
|
||||
void = "1.0.2"
|
||||
async-channel = "1.9.0"
|
||||
asynchronous-codec = "0.7.0"
|
||||
base64 = "0.21.5"
|
||||
libp2p-mplex = "0.41"
|
||||
quick-protobuf-codec = "0.3"
|
||||
|
||||
[dependencies.libp2p]
|
||||
git = "https://github.com/sigp/rust-libp2p/"
|
||||
rev = "cfa3275ca17e502799ed56e555b6c0611752e369"
|
||||
version = "0.53"
|
||||
default-features = false
|
||||
features = ["identify", "yamux", "noise", "gossipsub", "dns", "tcp", "tokio", "plaintext", "secp256k1", "macros", "ecdsa", "metrics", "quic"]
|
||||
features = ["identify", "yamux", "noise", "dns", "tcp", "tokio", "plaintext", "secp256k1", "macros", "ecdsa", "metrics", "quic"]
|
||||
|
||||
[dev-dependencies]
|
||||
slog-term = { workspace = true }
|
||||
@@ -58,6 +73,7 @@ tempfile = { workspace = true }
|
||||
exit-future = { workspace = true }
|
||||
quickcheck = { workspace = true }
|
||||
quickcheck_macros = { workspace = true }
|
||||
async-std = { version = "1.6.3", features = ["unstable"] }
|
||||
|
||||
[features]
|
||||
libp2p-websocket = []
|
||||
|
||||
Reference in New Issue
Block a user