Page MenuHomePhabricator

[alias-server] [p10] Store blockheight in parsed alias txs
ClosedPublic

Authored by bytesofman on Feb 8 2023, 15:13.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABCd923885eec50: [alias-server] [p10] Store blockheight in parsed alias txs
Summary

T2922

Depends on D13111

Store blockheight in parsed alias txs. This is necessary to determine the valid alias in cases where the same alias has been registered multiple times.

Test Plan

npm test

Diff Detail

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

Event Timeline

emack requested changes to this revision.Feb 24 2023, 04:16
emack added a subscriber: emack.
emack added inline comments.
web/alias-server/alias.js
99 ↗(On Diff #37853)

shouldn't the default blockheight be 100000000 if block.height did not exist (i.e. unconfirmed tx)?

This revision now requires changes to proceed.Feb 24 2023, 04:16

Just saw this being rectified in part 11 so greening this

This revision is now accepted and ready to land.Feb 24 2023, 04:49