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

opts.gossipIncoming does nothing? #231

Closed
achingbrain opened this issue Apr 25, 2022 · 4 comments · Fixed by #281
Closed

opts.gossipIncoming does nothing? #231

achingbrain opened this issue Apr 25, 2022 · 4 comments · Fixed by #281

Comments

@achingbrain
Copy link
Collaborator

achingbrain commented Apr 25, 2022

When it was added there was a conditional that checked the value of opts.gossipIncoming and didn't gossip incoming messages when it was false.

Now that this module has been refactored to not extend the base pubsub class in @libp2p/pubsub nothing seems to use that init option.

@stale
Copy link

stale bot commented Jun 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the bot:stale label Jun 12, 2022
@achingbrain
Copy link
Collaborator Author

Still does nothing AFAICS

@stale stale bot removed the bot:stale label Jun 12, 2022
@twoeths
Copy link
Contributor

twoeths commented Jun 13, 2022

gossipIncoming option is used to forward messages to FloodSub peers and mesh peers, which is the default behavior right now.

I don't see this option in rust's implementation, @wemeetagain do we need this option for any applications? If not I think we can just delete this option.

@wemeetagain
Copy link
Member

yeah, its stale code, should be deleted

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 a pull request may close this issue.

3 participants