Page MenuHomePhabricator

[Cashtab] [bch-api deprecation p1]Remove bch-api node check from useWallet.js
ClosedPublic

Authored by bytesofman on Oct 25 2022, 17:03.

Details

Summary

T2730

Remove bch-api server check from update function in useWallet.js

Now that bch-api is no longer used for utxo mgmt, tx history, or broadcasting txs, there is no point in checking on the server. It doesn't matter if it's up or down, Cashtab is not using it.

Test Plan

npm start and wallet just works

Diff Detail

Repository
rABC Bitcoin ABC
Branch
final-bch-api-deprecation
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21419
Build 42488: Build Diffcashtab-tests
Build 42487: arc lint + arc unit

Event Timeline

emack added a subscriber: emack.

assuming part 2 is tryNextAPI() in useWallet and past 3 is ConstructedSlpWallet in getBCH()

This revision is now accepted and ready to land.Oct 26 2022, 00:46

Waiting to fully deprecate BCH param before continuing with this stack.

This revision is now accepted and ready to land.Nov 29 2022, 20:56