Skip to content

Allow subscriptions on RPC server #1657

@binarybaron

Description

@binarybaron

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the swap CLI toolenhancementNew feature or requestrpcRelated to the rpc server of the CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions