Page MenuHomePhabricator

[Cashtab][Alias] Refactor getAliasServerState
AbandonedPublic

Authored by emack on Jul 4 2023, 06:52.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Summary

Refactors the getAliasServerState function to use the alias-server's alias endpoint.
If any response is received from the fetch call, regardless of whether the alias is registered or not, then the server is deemed to be online.
If the fetch response is undefined then server is deemed to be offline.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
refactorAliasServerState
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24335
Build 48279: Build Diffcashtab-tests
Build 48278: arc lint + arc unit