Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Notification of completion of coinjoin events or wallet updates #6

Open
AdamISZ opened this issue Sep 8, 2021 · 1 comment
Open

Comments

@AdamISZ
Copy link
Member

AdamISZ commented Sep 8, 2021

In jmclient.wallet_service.WalletService.transaction_monitor we allow clients of WalletService to register callbacks on transaction events.
If it were possible to somehow have the react client subscribe to events this would be a big step forward in having the UI kind of "work", since e.g. a coinjoin completing (unconfirmed) on the network could be shown in a dialog.

@AdamISZ
Copy link
Member Author

AdamISZ commented Sep 20, 2021

7c79f5c is a partial solution, but certainly not a complete one: client receives updates of state via polling and displays on screen. (Notably: /display will also get a live version of the wallet contents whenever the page is reloaded as it calls the backend, which is updated itself).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant