Page MenuHomePhabricator

[alias-server] Remove confirmed txs table from database
AbandonedPublic

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

Details

Reviewers
emack
Group Reviewers
Restricted Project
Summary

T2966

Depends on D13403

Now that you have processedBlockheight and processedConfirmedTxs in server state, stop caching the entire tx history of the alias registration address.

Test Plan

Delete your confirmedTxHistory table from your database
node index.js
Send 2 alias registration txs and 2 non-alias registration txs to the alias registration address
On block, database updates correctly, new serverstate is accurate to tx history

Diff Detail

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