Skip to content

Commit 0ad6c9a

Browse files
authored
feat(gossipsub): implement gossipsub 1.2 beta
This PR implements gossipsub 1.2 beta bringing changes over from lighthouse ref PR: sigp/lighthouse#5422 Please include any relevant issues in here, for example: libp2p/specs#548 Pull-Request: #5697.
1 parent 644d7d0 commit 0ad6c9a

File tree

14 files changed

+571
-66
lines changed

14 files changed

+571
-66
lines changed

Cargo.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ tracing = "0.1.41"
141141
tracing-subscriber = "0.3.19"
142142
unsigned-varint = { version = "0.8.0" }
143143
web-time = "1.1.0"
144+
hashlink = "0.9.0"
144145

145146
[patch.crates-io]
146147

protocols/gossipsub/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## 0.48.0
22

3+
- Introduce Gossipsub v1.2 [spec](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.2.md).
4+
See [PR 5697](https://github.com/libp2p/rust-libp2p/pull/5697)
5+
36
- Correct state inconsistencies with the mesh and fanout when unsubscribing.
47
See [PR 5690](https://github.com/libp2p/rust-libp2p/pull/5690)
58

protocols/gossipsub/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ fnv = "1.0.7"
2424
futures = { workspace = true }
2525
futures-timer = "3.0.2"
2626
getrandom = { workspace = true }
27+
hashlink = { workspace = true}
2728
hex_fmt = "0.3.0"
2829
web-time = { workspace = true }
2930
libp2p-core = { workspace = true }

0 commit comments

Comments
 (0)