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

fix: disallow publishing pubsub messages to zero peers #4286

Merged
merged 4 commits into from
Jan 11, 2023

Conversation

achingbrain
Copy link
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