Skip to content

Commit

Permalink
Merge pull request #1 from pawanjay176/upgrade-for-yamux
Browse files Browse the repository at this point in the history
Upgrade libp2p to enable yamux gains
  • Loading branch information
jxs authored Dec 12, 2023
2 parents e313bc5 + 3941f8d commit 99669b5
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 34 deletions.
80 changes: 49 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ criterion = "0.3"
delay_map = "0.3"
derivative = "2"
dirs = "3"
discv5 = { git="https://github.com/sigp/discv5", rev="87a0260db8a27595d01999ea5850848c43cc1bf0", features = ["libp2p"] }
# Branch https://github.com/sigp/discv5/tree/lighthouse-with-yamux
discv5 = { git="https://github.com/sigp/discv5", rev="1b5218d01015023f32e12c0a9ac6780759a550bf", features = ["libp2p"] }
env_logger = "0.9"
error-chain = "0.12"
ethereum-types = "0.14"
Expand Down
5 changes: 3 additions & 2 deletions beacon_node/lighthouse_network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ 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 = "a70bef04c0c3e1dc35b812a597bb66ca89788e36"}
libp2p-mplex = { git = "https://github.com/sigp/rust-libp2p/", rev = "c5430243501075eba4429b33c427bc0ed13d0ff6"}

[dependencies.libp2p]
git = "https://github.com/sigp/rust-libp2p/"
rev = "a70bef04c0c3e1dc35b812a597bb66ca89788e36"
# Branch https://github.com/sigp/rust-libp2p/tree/lighthouse-gossipsub-yamux
rev = "c5430243501075eba4429b33c427bc0ed13d0ff6"
default-features = false
features = ["identify", "yamux", "noise", "gossipsub", "dns", "tcp", "tokio", "plaintext", "secp256k1", "macros", "ecdsa", "metrics", "quic"]

Expand Down

0 comments on commit 99669b5

Please sign in to comment.