Page MenuHomePhabricator

[alias-server] Add registeredAliasCount to server state
AbandonedPublic

Authored by bytesofman on Mar 27 2023, 23:41.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

T3038

Depends on D13484

Add count for total number of valid alias registrations to server state.

This info is useful for apps processing the latest valid set of registered aliases.

Test Plan

node index.js
Navigate to localhost:5000/state and see correct count
wipe your db
node index.js
same result
npm test all good

Diff Detail

Repository
rABC Bitcoin ABC
Branch
process-only-unprocessed-txs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22785
Build 45190: Build Diff
Build 45189: arc lint + arc unit