comit-network/xmr-btc-swap

Allow subscriptions on RPC server

binarybaron opened this issue · 0 comments

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