Page MenuHomePhabricator

[Cashtab] Stop supporting no-API loading of legacy wallet formats
ClosedPublic

Authored by bytesofman on Jan 23 2024, 23:15.

Details

Summary

If Cashtab loads a wallet from local storage and finds it is valid, it will immediately set this as the active wallet.

If it is not valid, it will wait to get the valid wallet from the API. With chronik, this now happens immediately on load.

We do not get any performance benefit from non-API migration of very old wallets when we can simply wait 10 ms. Stop supporting this.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
update-isvalidstoredwallet
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26598
Build 52766: Build Diffcashtab-tests
Build 52765: arc lint + arc unit