T2447
Depends on D11534
Part 4 of chronik websocket subscriptions for Cashtab
When the user switches active wallets, unsubscribe from previous addresses.
Differential D11535
[Cashtab] [Chronik Websocket Notifications] [Part 4] Unsubscribe to Hash160s when active wallet changes bytesofman on May 30 2022, 17:34. Authored by
Details
T2447 Depends on D11534 Part 4 of chronik websocket subscriptions for Cashtab When the user switches active wallets, unsubscribe from previous addresses. npm start
Diff Detail
Event TimelineComment Actions Issue is related to chronik-client not handling incoming block msgs; try...catch is not necessary. As the websocket gets into prod, we may see more edge cases of how it will fail. The app needs to be built to always handle a failed websocket. So, it's okay to not handle this (as yet unseen) error for now. At the moment, the failure condition from this series of diffs is "incoming tx notifications happen the old way and not with the websocket, or incoming transaction notifications are broken." This is an acceptable failure condition. |