-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade libp2p to enable yamux gains #1
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,11 +43,11 @@ 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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we depend on the branch instead for better clarity Pawan? The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm a little unsure about how |
||
rev = "c5430243501075eba4429b33c427bc0ed13d0ff6" | ||
default-features = false | ||
features = ["identify", "yamux", "noise", "gossipsub", "dns", "tcp", "tokio", "plaintext", "secp256k1", "macros", "ecdsa", "metrics", "quic"] | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
age released a new version Pawan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discv5 has the
libp2p
feature for usingPeerId
s, so we need to update the libp2p version in discv5's Cargo.toml as wellWe were using the
lighthouse
branch.I upgraded it to use the branch I made (https://github.com/sigp/discv5/tree/lighthouse-with-yamux), this branch builds upon version 0.4.0