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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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