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

Allow subscriptions on RPC server #1657

Open
binarybaron opened this issue May 28, 2024 · 0 comments
Open

Allow subscriptions on RPC server #1657

binarybaron opened this issue May 28, 2024 · 0 comments
Labels
cli Related to the swap CLI tool enhancement New feature or request rpc Related to the rpc server of the CLI

Comments

@binarybaron
Copy link
Collaborator

We should allow clients connected to the RPC server to subscribe to certain updates. This avoid clients having to fetch the same information over and over again expecting a change.

We should allow clients to subscribe to retrieve the following information:

  1. Bitcoin wallet balance updates
  2. State changes of swaps
  3. Timelock updates of running swap
@binarybaron binarybaron added enhancement New feature or request cli Related to the swap CLI tool rpc Related to the rpc server of the CLI Priority 1 This issue is top-priority at the moment Priority 2 and removed Priority 1 This issue is top-priority at the moment Priority 2 labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the swap CLI tool enhancement New feature or request rpc Related to the rpc server of the CLI
Projects
None yet
Development

No branches or pull requests

1 participant