Skip to content

Subscription API #599

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

Merged
merged 10 commits into from
Jun 6, 2025
Merged

Subscription API #599

merged 10 commits into from
Jun 6, 2025

Conversation

louisinger
Copy link
Collaborator

@louisinger louisinger commented Jun 4, 2025

This PR adds subscription APIs to indexed

  1. SubscribeForScripts: create a subscription or add new scripts to watch. Returns subscription ID.
  2. GetSubscribtion: returns the server side stream associated with a subscription ID.
  3. UnsubscribeForScripts: remove watched addresses from a subscription, delete the subscription if no more addresses are watched.

it closes #582

@altafan @Kukks please review

@louisinger louisinger mentioned this pull request Jun 4, 2025
@louisinger louisinger requested a review from altafan June 5, 2025 08:37
Copy link
Contributor

@Kukks Kukks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proto ACK

@altafan altafan merged commit 241d3e1 into arkade-os:master Jun 6, 2025
9 checks passed
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 this pull request may close these issues.

Add Subscribe Stream API
3 participants