Page MenuHomePhabricator

[ecash-herald] Parse SwAP txs
ClosedPublic

Authored by bytesofman on Jun 13 2023, 21:13.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC86f227c75c40: [ecash-herald] Parse SwAP txs
Summary

T3060

Parse SWaP txs

Handles some observed inconsistencies between spec and recent network txs (active apps appear to use ASCII for encoding / decoding sats). Stub parsing for uncommon methods, can be expanded as these txs are observed.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
herald-support-swap
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24029
Build 47668: Build Diffecash-herald-tests
Build 47667: arc lint + arc unit

Event Timeline

Better comments, unit test for malformed swap

Fabien added a subscriber: Fabien.
Fabien added inline comments.
apps/ecash-herald/src/parse.js
378
This revision is now accepted and ready to land.Jun 14 2023, 13:06
This revision was automatically updated to reflect the committed changes.