HomePhabricator

[ecash-lib] Add parseEmppScript method

Description

[ecash-lib] Add parseEmppScript method

Summary:
We have a number of methods for parsing individual pushes from an EMPP OP_RETURN, but we are missing a method to take the EMPP script and get the individual pushes.

Add it here.

Test Plan: npm test

Reviewers: #bitcoin_abc, tobias_ruck

Reviewed By: #bitcoin_abc, tobias_ruck

Subscribers: tobias_ruck

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

Details

Provenance
bytesofmanAuthored on Tue, May 6, 21:32
bytesofmanPushed on Wed, May 7, 11:23
Reviewer
Restricted Project
Differential Revision
D18057: [ecash-lib] Add parseEmppScript method
Parents
rABCb78399611ae6: rpc: Avoid getchaintxstats invalid results
Branches
Unknown
Tags
Unknown