Page MenuHomePhabricator

[Cashtab] [Cashtab] [final bch-api deprecation p2] Change chronikUrl to chronikUrls array
ClosedPublic

Authored by bytesofman on Dec 7 2022, 14:38.

Details

Summary

T2730, T2735

Depends on D12366

Final stack to get rid of BCH param. In doing this, we will replace Cashtab's method of switching backends.

This diff changes the currency.chronikUrl string to an array of strings, currency.chronikUrls.

Test Plan

grep -r currency.chronikUrl src/ and confirm it only appears one time in useWallet.js, here changed
npm start and app connects to chronik

Diff Detail

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