Auto merge of #3326 - str4d:3058-sapling-addresses, r=str4d

Sapling address encodings

This PR enables Sapling keys and addresses to be passed in anywhere Sprout keys
and addresses are used. Doing so will cause crashes until those places are updated
with Sapling support.

Includes code cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#11167
  - Only the `ConvertBits()` function.
- bitcoin/bitcoin#11630

Closes #3058.
This commit is contained in:
Homu
2018-06-19 05:12:50 -07:00
13 changed files with 303 additions and 249 deletions

View File

@@ -62,6 +62,7 @@ BITCOIN_TESTS =\
test/Checkpoints_tests.cpp \
test/coins_tests.cpp \
test/compress_tests.cpp \
test/convertbits_tests.cpp \
test/crypto_tests.cpp \
test/DoS_tests.cpp \
test/equihash_tests.cpp \