HomePhabricator

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

Description

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

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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13720

Details

Provenance
bytesofmanAuthored on Apr 14 2023, 14:33
bytesofmanPushed on Apr 14 2023, 21:55
Reviewer
Restricted Project
Differential Revision
D13720: [alias-server] Modify getValidAliasRegistrations to work with partial tx history
Parents
rABCabb631b909a9: [ecashaddrjs] Ensure README displays at npmjs page
Branches
Unknown
Tags
Unknown