Page MenuHomePhabricator

[ecash-script] Return pushdata if requested
AbandonedPublic

Authored by bytesofman on Jun 6 2023, 21:03.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

To support enforcing minimal pushdata in spec for registering aliases, add bool flag that will return the pushdata along with the push

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
add-pushdata-option-to-ecash-script
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23927
Build 47464: Build Diff
Build 47463: arc lint + arc unit

Event Timeline

util add should be split out

modules/ecash-script/src/utils.js
12

Ended up being convenient to have this helper function in support of returning pushdata