Page MenuHomePhabricator

Allow cashaddr's prefix to be implicit
ClosedPublic

Authored by deadalnix on Dec 22 2017, 02:55.

Details

Summary

This makes for a much more pleasant UX.

Test Plan

Added unittests.

In addition, try to send coin on testnet using both cashaddr with and without prefix and legacy addresses, with and without the -usecashaddr flag.

Diff Detail

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

Event Timeline

Mengerian added a subscriber: Mengerian.

Tested sending on mainnet with and without prefix, with and without -usecashaddr

It all works as it should

This revision is now accepted and ready to land.Dec 22 2017, 04:24
This revision was automatically updated to reflect the committed changes.