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: for royalty transfer, subscribe and publish to sub-group only #930

Closed
wants to merge 4 commits into from

Conversation

maqi
Copy link
Member

@maqi maqi commented Nov 2, 2023

Description

Summary generated by Reviewpad on 02 Nov 23 14:51 UTC

This pull request adds a new feature for royalty transfer by subscribing and publishing to a sub-group only. It also modifies the logic for subscribing and publishing transfer notifications using gossipsub. This change improves the efficiency and specificity of notifications for royalty payments.

@reviewpad reviewpad bot added Small Pull request is small waiting-for-review labels Nov 2, 2023
@maqi maqi force-pushed the reduce_gossipsub_subscriptions branch from 31525e0 to f2df854 Compare November 2, 2023 16:19
@maqi maqi force-pushed the reduce_gossipsub_subscriptions branch from f2df854 to 0f1902e Compare November 2, 2023 18:07
@@ -372,7 +394,9 @@
NetworkEvent::GossipsubMsgReceived { topic, msg }
| NetworkEvent::GossipsubMsgPublished { topic, msg } => {
if self.events_channel.receiver_count() > 0 {
if topic == TRANSFER_NOTIF_TOPIC {
// TODO: shall record which topics this network instance subscribed.

Check notice

Code scanning / devskim

A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note

Suspicious comment
@maqi maqi force-pushed the reduce_gossipsub_subscriptions branch from 3f641a0 to ba66262 Compare November 6, 2023 15:17
@maqi
Copy link
Member Author

maqi commented Nov 7, 2023

In favour of the PR #933

@maqi maqi closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant