Page MenuHomePhabricator

[alias-server] Use upsert to remove unnecessary serverstate db clause
AbandonedPublic

Authored by bytesofman on Mar 21 2023, 17:23.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Summary

T3026

Depends on D13404

Use upsert: true to remove need for if...else loop handling how serverState is written to the database.

Test Plan

delete your database
node index.js
database populates correctly, serverstate populates correctly, available at localhost:5000/state
Send some non-alias txs and register some aliases
database updates correctly

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22777
Build 45174: Build Diff
Build 45173: arc lint + arc unit