HomePhabricator

[alias-server] Return price and price expiration blockheight from /alias…

Description

[alias-server] Return price and price expiration blockheight from /alias endpoint for unregistered aliases

Summary: This approach simplifies implementing registration in wallets. Wallets already need to make an API call to see if an alias is available or not. If it is not available, return the price (and the next block, and the blockheight this price is good thru).

Test Plan: npm test

Reviewers: #bitcoin_abc, emack, Fabien

Reviewed By: #bitcoin_abc, emack, Fabien

Subscribers: Fabien, emack

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

Details

Provenance
bytesofmanAuthored on Jul 14 2023, 17:47
bytesofmanPushed on Jul 28 2023, 18:57
Reviewer
Restricted Project
Differential Revision
D14268: [alias-server] Return price and price expiration blockheight from /alias endpoint for unregistered aliases
Parents
rABC952fda96ea25: [Cashtab] Remove unnecessary wrapper function
Branches
Unknown
Tags
Unknown