Page MenuHomePhabricator

[alias-server] Modify getValidAliasRegistrations to work with partial tx history
ClosedPublic

Authored by bytesofman on Apr 14 2023, 14:34.

Details

Summary

T3060

The getValidAliasRegistrations function currently only works if input is full history of all txs with valid alias prefix and fee.

Allow this function to take a parameter of previously valid registered aliases to return only newly registered aliases.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable