Update Base58 codec and remove Bitcoin support:

Use C++17 constant expressions to calculate the inverse
alphabet map at compile time instead of at runtime.

Remove support for encoding & decoding tokens using the
Bitcoin alphabet.
This commit is contained in:
Crypto Brad Garlinghouse
2020-08-07 14:22:36 +00:00
committed by Nik Bougalis
parent ab9f3fa42a
commit 831e03ad2a
11 changed files with 72 additions and 212 deletions

View File

@@ -32,7 +32,6 @@ namespace detail {
// This array will be omitted from the object file; only the sorted version
// will remain in the object file. But the string literals will remain.
constexpr static ErrorInfo unorderedErrorInfos[]{
{rpcACT_BITCOIN, "actBitcoin", "Account is bitcoin address."},
{rpcACT_MALFORMED, "actMalformed", "Account malformed."},
{rpcACT_NOT_FOUND, "actNotFound", "Account not found."},
{rpcALREADY_MULTISIG, "alreadyMultisig", "Already multisigned."},