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 vasco-santos force-pushed the feature/gossipsub-1.1 branch 2 times, most recently from cebc2e6 to 5ff64cb Compare August 20, 2020 08:29
@vasco-santos vasco-santos force-pushed the feature/gossipsub-1.1 branch 2 times, most recently from c3dc02b to 3466ef4 Compare August 20, 2020 09:38
@vasco-santos vasco-santos force-pushed the feature/gossipsub-1.1 branch from 8686e9a to d722c4d Compare August 21, 2020 13:39
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
@jacobheun jacobheun force-pushed the feature/gossipsub-1.1 branch from d722c4d to 0db9a31 Compare August 24, 2020 11:18
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
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 <[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]>
@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