-
Notifications
You must be signed in to change notification settings - Fork 950
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
[identify] Implement /ipfs/id/push/1.0.0 alongside some refactoring. #1999
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
cd45102
Implement /ipfs/id/push/1.0.0 alongside some refactoring.
f5ce3a8
Merge branch 'master' into identify-push
667534e
Fix test.
39fa379
Fix example.
7dbae78
Merge branch 'master' into identify-push
romanb 6463521
Update protocols/identify/src/identify.rs
romanb b05df32
Update protocols/identify/src/identify.rs
romanb 8a51971
Merge branch 'master' into identify-push
romanb e6ca10b
Update versions and changelogs.
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "libp2p" | ||
edition = "2018" | ||
description = "Peer-to-peer networking library" | ||
version = "0.36.0" | ||
version = "0.37.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -67,7 +67,7 @@ lazy_static = "1.2" | |
libp2p-core = { version = "0.28.0", path = "core", default-features = false } | ||
libp2p-floodsub = { version = "0.28.0", path = "protocols/floodsub", optional = true } | ||
libp2p-gossipsub = { version = "0.29.0", path = "./protocols/gossipsub", optional = true } | ||
libp2p-identify = { version = "0.28.0", path = "protocols/identify", optional = true } | ||
libp2p-identify = { version = "0.29.0", path = "protocols/identify", optional = true } | ||
libp2p-kad = { version = "0.29.0", path = "protocols/kad", optional = true } | ||
libp2p-mplex = { version = "0.28.0", path = "muxers/mplex", optional = true } | ||
libp2p-noise = { version = "0.30.0", path = "transports/noise", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "libp2p-identify" | ||
edition = "2018" | ||
description = "Nodes identifcation protocol for libp2p" | ||
version = "0.28.0" | ||
version = "0.29.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
|
@@ -20,6 +20,7 @@ wasm-timer = "0.2" | |
|
||
[dev-dependencies] | ||
async-std = "1.6.2" | ||
env_logger = "0.8" | ||
libp2p-mplex = { path = "../../muxers/mplex" } | ||
libp2p-noise = { path = "../../transports/noise" } | ||
libp2p-tcp = { path = "../../transports/tcp" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Something that came to my mind: How about emitting an event along the lines of
IdentifyEvent::Pushed
once a push succeeded? I would expect this to be useful for people tracking these events in a monitoring system like Prometheus. This event would serve a similar purpose to theRequestSent
event inlibp2p-request-response
:rust-libp2p/protocols/request-response/src/lib.rs
Lines 152 to 161 in 63512e5
In case you think this is useful @romanb I can prepare a pull request.
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.
Sounds good to me.