-
Notifications
You must be signed in to change notification settings - Fork 460
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
feat: gossipsub 1.1 #733
feat: gossipsub 1.1 #733
Conversation
cebc2e6
to
5ff64cb
Compare
c3dc02b
to
3466ef4
Compare
8686e9a
to
d722c4d
Compare
BREAKING CHANGE: pubsub implementation is now directly exposed and its API was updated according to the new pubsub interface in js-libp2p-interfaces repo
d722c4d
to
0db9a31
Compare
libp2p.pubsub.topicValidators.set(topic, validateMessage) | ||
``` | ||
|
||
## pubsub.topicValidators.delete |
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.
Needs to be added to the toc
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.
Just a couple things. I think once those are fixed we can do an RC since only the dev dependencies are still referencing branches. This make it easier for those to release their beta versions against the RC.
Co-authored-by: Jacob Heun <[email protected]>
Co-authored-by: Jacob Heun <[email protected]>
7bb739d
to
8ea18af
Compare
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.
lgtm
merging this and will do an RC, we can update deps prior to release |
* feat: gossipsub 1.1 BREAKING CHANGE: pubsub implementation is now directly exposed and its API was updated according to the new pubsub interface in js-libp2p-interfaces repo * chore: use gossipsub branch with src added * fix: add pubsub handlers adapter * chore: fix deps * chore: update pubsub docs and examples * chore: apply suggestions from code review Co-authored-by: Jacob Heun <[email protected]> * chore: use new floodsub * chore: change validator doc set Co-authored-by: Jacob Heun <[email protected]> * chore: add new gossipsub src Co-authored-by: Jacob Heun <[email protected]>
This PR main purpose is to update gossipsub 1.1
With this initiative, we included a refactor of the pubsub abstraction API included in
js-libp2p
module per libp2p/js-libp2p-pubsub#68 , as well as a pubsub base implementation (libp2p/js-libp2p-pubsub) full refactor that also included moving it into libp2p interfaces per libp2p/js-libp2p-interfaces#53With the above changes,
libp2p-floodsub
was also updated accordingly.Needs:
feat: interface pubsub js-libp2p-interfaces#60 (with https://github.com/libp2p/js-libp2p-pubsub/tree/v0.6.x)
libp2p/js-libp2p-floodsub#108
ChainSafe/js-libp2p-gossipsub#82
Interop circular dependency chore: gossipsub1.1 interop#43