HomePhabricator

[Cashtab][Alias] Deprecate alias specific BlockConnected websocket events

Description

[Cashtab][Alias] Deprecate alias specific BlockConnected websocket events

Summary:
See T3216 for background

Cashtab no longer needs to cache aliases and alias tx histories, therefore there is no need for processChronikWsMsg to be listening on BlockConnected events to refresh local alias cache on new blocks.

There is currently no other uses for 'BlockConnected' events in Cashtab.

Test Plan:
npm test
npm start
enable the aliasSettings.aliasEnabled flag in Ticker.js (will be moved in subsequent diff)
open console log and ensure no websocket errors upon new block found as the event should no longer be picked up
disable the aliasFlag, reload cashtab and ensure no websocket errors in console log upon startup

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D14184

Details

Provenance
emackAuthored on Jul 1 2023, 09:55
emackPushed on Jul 2 2023, 03:59
Reviewer
Restricted Project
Differential Revision
D14184: [Cashtab][Alias] Deprecate alias specific BlockConnected websocket events
Parents
rABC70a4d39068f7: [Apps][Examples] Remove chronik url input arg from getDetailsFromTxid
Branches
Unknown
Tags
Unknown