Page MenuHomePhabricator

Simplify Base32 and Base64 conversions
ClosedPublic

Authored by Fabien on Apr 15 2020, 10:48.

Details

Summary
Generalize ConvertBits a bit to also be usable for the existing Base32
and Base64 convertions (rather than just for Bech32).

Backport of core PR11630.

Depends on D5734.

The key_io.cpp changes are not ported because they are segwit related,
however some cashaddrenc.cpp and util_tests.cpp changes were required.

Test Plan
ninja all check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11630
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 10227
Build 18278: Default Diff Build & Tests
Build 18277: arc lint + arc unit

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Apr 15 2020, 15:51