-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[identify] Implement /ipfs/id/push/1.0.0 alongside some refactoring. (#…
…1999) * Implement /ipfs/id/push/1.0.0 alongside some refactoring. * Implement /ipfs/id/push/1.0.0, i.e. the ability to actively push information of the local peer to specific remotes. * Make the initial delay as well as the recurring delay for the periodic identification requests configurable, introducing `IdentifyConfig`. * Fix test. * Fix example. * Update protocols/identify/src/identify.rs Co-authored-by: Max Inden <[email protected]> * Update protocols/identify/src/identify.rs Co-authored-by: Max Inden <[email protected]> * Update versions and changelogs. Co-authored-by: Max Inden <[email protected]>
- Loading branch information
Showing
10 changed files
with
510 additions
and
197 deletions.
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.