HomePhabricator

[Cashtab] [Chronik Websocket Notifications] [Part 3] Subscribe to Hash160s

Description

[Cashtab] [Chronik Websocket Notifications] [Part 3] Subscribe to Hash160s

Summary:
T2447

Depends on D11531

Part 3 of stacked diff for implementing chronik websocket connections into Cashtab.

This diff uses the getHashArrayFromWallet function defined in Part 2 to obtain + subscribe to the correct addresses.

Test Plan:
npm start
Open dev console
Observe subscription to wallet's hash160s through websocket.
Send a tx to the wallet and observe a msg in the console.

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: tobias_ruck, emack

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

Details

Provenance
bytesofmanAuthored on May 30 2022, 17:30
bytesofmanPushed on Jun 7 2022, 21:06
Reviewer
Restricted Project
Differential Revision
D11534: [Cashtab] [Chronik Websocket Notifications] [Part 3] Subscribe to Hash160s
Parents
rABC54fc08d8f811: [Cashtab] [Chronik Websocket Notifications] [Part 2] Get Hash160s from wallet
Branches
Unknown
Tags
Unknown