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

feat: gossipsub 1.1 #733

Merged
merged 9 commits into from
Aug 25, 2020
Merged

feat: gossipsub 1.1 #733

merged 9 commits into from
Aug 25, 2020

Conversation

vasco-santos
Copy link
Member

@vasco-santos vasco-santos commented Aug 14, 2020

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#53

With the above changes, libp2p-floodsub was also updated accordingly.

Needs:

vasco-santos and others added 4 commits August 24, 2020 13:02
BREAKING CHANGE: pubsub implementation is now directly exposed and its API was updated according to the new pubsub interface in js-libp2p-interfaces repo
libp2p.pubsub.topicValidators.set(topic, validateMessage)
```

## pubsub.topicValidators.delete
Copy link
Member Author

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

Copy link
Contributor

@jacobheun jacobheun left a 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.

doc/API.md Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
src/index.js Outdated Show resolved Hide resolved
src/pubsub-adapter.js Outdated Show resolved Hide resolved
src/pubsub-adapter.js Outdated Show resolved Hide resolved
vasco-santos and others added 4 commits August 25, 2020 13:52
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jacobheun jacobheun marked this pull request as ready for review August 25, 2020 14:47
@jacobheun
Copy link
Contributor

merging this and will do an RC, we can update deps prior to release

@jacobheun jacobheun merged commit e14ce40 into 0.29.x Aug 25, 2020
@jacobheun jacobheun deleted the feature/gossipsub-1.1 branch August 25, 2020 14:48
@jacobheun jacobheun restored the feature/gossipsub-1.1 branch August 25, 2020 14:48
jacobheun added a commit that referenced this pull request Aug 27, 2020
* 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 <jacobheun@gmail.com>

* chore: use new floodsub

* chore: change validator doc set

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

* chore: add new gossipsub src

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
@achingbrain achingbrain deleted the feature/gossipsub-1.1 branch May 18, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants