Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

rename/pubsub-topicfilter #2170

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

decanus
Copy link

@decanus decanus commented Apr 30, 2020

So this PR is probably a bit controversial, therefore I fully understand if it is not accepted. However, the fact that PSS has something called pubsub is rather misleading and therefore I have decided to rename it to TopicFilter this seems more accurate from my current understanding of the code.

PubSub would imply that any peer can subscribe to a specific topic and receive messages on it, and the creator of that topic can then send messages to it and all peers receive it. However this is not what I see in the code, instead a user registers that they want to subscribe to a topic and a sender can send a peer a message with that topic in it so that the peer actually receives it and does not ignore it.

@decanus decanus requested review from janos and nolash April 30, 2020 13:27
@nolash nolash requested review from mortelli and removed request for janos and nolash April 30, 2020 13:43
@decanus
Copy link
Author

decanus commented May 1, 2020

Another name that could be used would be Subscription.

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