Skip to content
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

Implement gossipsub IDONTWANT #5422

Merged
merged 30 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
675bd55
move gossipsub into a separate crate
jxs Mar 11, 2024
30967b4
Merge branch 'unstable' of github.com:sigp/lighthouse into separate-g…
jxs Mar 20, 2024
a022ca6
update rpc.proto and generate rust bindings
jxs Mar 15, 2024
0384495
gossipsub: implement IDONTWANT messages
jxs Mar 17, 2024
ae0b6b2
address review
jxs Mar 18, 2024
6467769
move GossipPromises out of PeerScore
jxs Mar 20, 2024
4f7e639
impl PeerKind::is_gossipsub
jxs Mar 20, 2024
fb150e9
address review 2
jxs Mar 21, 2024
94c9569
Merge branch 'separate-gossipsub' of github.com:sigp/lighthouse into …
jxs Mar 21, 2024
8c490b5
Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossi…
jxs Mar 26, 2024
77f4666
add metrics
jxs Mar 27, 2024
db1bfa6
add tests
jxs Apr 9, 2024
34edff5
make 1.2 beta before spec is merged
jxs Apr 21, 2024
35afb28
Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossi…
jxs Apr 21, 2024
1a41120
cargo clippy
jxs Apr 21, 2024
5966019
Collect decoded IDONTWANT messages
ackintosh Apr 23, 2024
0cc18cc
Use the beta tag in most places to simplify the transition
AgeManning Apr 30, 2024
c4c3a4b
Fix failed test by using fresh message-ids
ackintosh Apr 30, 2024
5946982
Gossipsub v1.2-beta
ackintosh Apr 30, 2024
e570ebc
Merge latest unstable
AgeManning Apr 30, 2024
1130392
Cargo update
AgeManning Apr 30, 2024
ec56b69
Merge pull request #5 from ackintosh/impl-gossipsub-idontwant-ackinto…
jxs May 1, 2024
c5b5a95
Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossi…
jxs May 3, 2024
1abba86
update CHANGELOG.md
jxs May 3, 2024
686f14f
remove beta for 1.2 IDONTWANT spec has been merged
jxs May 15, 2024
aaa7e9e
Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossi…
jxs Jun 11, 2024
8c3bb60
Merge branch 'impl-gossipsub-idontwant' of github.com:jxs/lighthouse …
jxs Jun 11, 2024
630369b
Merge branch 'unstable' of github.com:sigp/lighthouse into impl-gossi…
jxs Jul 5, 2024
62069dd
improve comments wording
jxs Jul 5, 2024
053a272
Merge branch 'impl-gossipsub-idontwant' of github.com:jxs/lighthouse …
jxs Jul 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 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 @@ -127,6 +127,7 @@ fnv = "1"
fs2 = "0.4"
futures = "0.3"
hex = "0.4"
hashlink = "0.9.0"
hyper = "1"
itertools = "0.10"
lazy_static = "1"
Expand Down
3 changes: 3 additions & 0 deletions beacon_node/lighthouse_network/gossipsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## 0.5 Sigma Prime fork

- Implement IDONTWANT messages as per [spec](https://github.com/libp2p/specs/pull/548).
See [PR 5422](https://github.com/sigp/lighthouse/pull/5422)

- Attempt to publish to at least mesh_n peers when publishing a message when flood publish is disabled.
See [PR 5357](https://github.com/sigp/lighthouse/pull/5357).
- Drop `Publish` and `Forward` gossipsub stale messages when polling ConnectionHandler.
Expand Down
1 change: 1 addition & 0 deletions beacon_node/lighthouse_network/gossipsub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ futures = "0.3.30"
futures-ticker = "0.0.3"
futures-timer = "3.0.2"
getrandom = "0.2.12"
hashlink.workspace = true
hex_fmt = "0.3.0"
libp2p = { version = "0.53", default-features = false }
quick-protobuf = "0.8"
Expand Down
Loading
Loading