HomePhabricator

[ecash-lib] Add `parseAlp`

Description

[ecash-lib] Add parseAlp

Summary:
Parses an ALP pushdata from eMPP.

See doc comment of parseAlp for details. Parallels D17871.

Also add readU48 to Bytes, so we have nice error messages.

Test Plan: npm test

Reviewers: Fabien, bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Fri, Apr 4, 17:20
tobias_ruckPushed on Sat, Apr 5, 10:56
Reviewer
Restricted Project
Differential Revision
D17900: [ecash-lib] Add `parseAlp`
Parents
rABC9641c641548c: [explorer] Hide the advanced transaction data by default
Branches
Unknown
Tags
Unknown
References
HEAD -> master