Page MenuHomePhabricator

[Cashtab] [Chronik Websocket Notifications] [Part 11] Ignore tx confirmed messages
ClosedPublic

Authored by bytesofman on Jun 1 2022, 23:05.

Details

Summary

T2447

Depends on D11541

Ignore websocket messages that are not of type 'AddedToMempool'. Otherwise, notifications will also fire when transactions are confirmed.

These messages will be handled by different features in a later diff.

Test Plan

npm start
Send yourself a tx and see notification
Wait for the tx to confirm (can monitor ecash.coin.dance or add a console.log(msg) statement to this diff ws config)
Note that you see no second notification

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 7 2022, 07:44