Skip to content

Commit

Permalink
feat(gossipsub): implement gossipsub 1.2 beta
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hopinheimer authored Dec 27, 2024
1 parent 644d7d0 commit 0ad6c9a
Show file tree
Hide file tree
Showing 14 changed files with 571 additions and 66 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ tracing = "0.1.41"
tracing-subscriber = "0.3.19"
unsigned-varint = { version = "0.8.0" }
web-time = "1.1.0"
hashlink = "0.9.0"

[patch.crates-io]

Expand Down
3 changes: 3 additions & 0 deletions protocols/gossipsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 0.48.0

- Introduce Gossipsub v1.2 [spec](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.2.md).
See [PR 5697](https://github.com/libp2p/rust-libp2p/pull/5697)

- Correct state inconsistencies with the mesh and fanout when unsubscribing.
See [PR 5690](https://github.com/libp2p/rust-libp2p/pull/5690)

Expand Down
1 change: 1 addition & 0 deletions protocols/gossipsub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ fnv = "1.0.7"
futures = { workspace = true }
futures-timer = "3.0.2"
getrandom = { workspace = true }
hashlink = { workspace = true}
hex_fmt = "0.3.0"
web-time = { workspace = true }
libp2p-core = { workspace = true }
Expand Down
Loading

0 comments on commit 0ad6c9a

Please sign in to comment.