HomePhabricator

[alias-server] match output scripts for p2pkh or p2sh registration address

Description

[alias-server] match output scripts for p2pkh or p2sh registration address

Summary:
T3060

Depends on D13606

Remove hard-coded outputScript matcher used to parse valid alias txs.

Add unit tested function to get the desired outputScript from address.

Modify calls to functions with modified params.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
bytesofmanAuthored on Apr 6 2023, 18:14
bytesofmanPushed on Apr 7 2023, 15:06
Reviewer
Restricted Project
Differential Revision
D13607: [alias-server] match output scripts for p2pkh or p2sh registration address
Parents
rABC5c5bd73e4acb: [alias-server] Remove irrelevant comments
Branches
Unknown
Tags
Unknown