Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

fix: disallow publishing pubsub messages to zero peers#4286

Merged
achingbrain merged 4 commits into
masterfrom
fix/disallow-publishing-to-zero-peers
Jan 11, 2023
Merged

fix: disallow publishing pubsub messages to zero peers#4286
achingbrain merged 4 commits into
masterfrom
fix/disallow-publishing-to-zero-peers

Conversation

@achingbrain

Copy link
Copy Markdown
Member

Use the default gossipsub behaviour of not allowing publishing message to zero peers.

If a user publishes a message they may be suprised to find it's not been recieved by anyone, so instead an error should be thrown when there are no peers that will receive a message.

Use the default gossipsub behaviour of not allowing publishing message
to zero peers.

If a user publishes a message they may be suprised to find it's not
been recieved by anyone, so instead an error should be thrown when there
are no peers that will receive a message.
@achingbrain achingbrain merged commit fa578ba into master Jan 11, 2023
@achingbrain achingbrain deleted the fix/disallow-publishing-to-zero-peers branch January 11, 2023 17:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant