Page MenuHomePhabricator

Enable decoding and optional encoding of cashaddr
ClosedPublic

Authored by dagurval on Nov 10 2017, 22:59.

Details

Summary

Wraps both cashaddr and base58 addresses into EncodeDestination and
DecodeDestination.

Test Plan

Added unittest

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dagurval created this revision.Nov 10 2017, 22:59
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 10 2017, 22:59
dagurval updated this revision to Diff 1737.Nov 14 2017, 12:40

remove -use-cashaddr flag

dagurval edited the summary of this revision. (Show Details)Nov 14 2017, 13:06
deadalnix accepted this revision.Nov 14 2017, 13:37
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/test/dstencode_tests.cpp
9 ↗(On Diff #1737)

Add a line between our imports and the system ones.

This revision is now accepted and ready to land.Nov 14 2017, 13:37
This revision was automatically updated to reflect the committed changes.