Page MenuHomePhabricator

[Cashtab] Support parsing p2sh addresses in tx history
ClosedPublic

Authored by bytesofman on Feb 24 2023, 23:59.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC2a462ae0c605: [Cashtab] Support parsing p2sh addresses in tx history
Summary

T2865 and pre-req for T2945

Add new function outputScriptToAddress that converts a given outputScript to the correct address type.

Note: a later diff (not stack) will add P2SH support to the hash160ToAddress function.

Test Plan

grep -r originatingHash160 src/ to confirm its omission only impacted unit tests and not any app functionality
npm test

Diff Detail

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