mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Merge #11372: Address encoding cleanup
92f1f8b31Split off key_io_tests from base58_tests (Pieter Wuille)119b0f85eSplit key_io (address/key encodings) off from base58 (Pieter Wuille)ebfe217b1Stop using CBase58Data for ext keys (Pieter Wuille)32e69fa0dReplace CBitcoinSecret with {Encode,Decode}Secret (Pieter Wuille) Pull request description: This PR contains some of the changes left as TODO in #11167 (and built on top of that PR). They are not intended for backporting. This removes the `CBase58`, `CBitcoinSecret`, `CBitcoinExtKey`, and `CBitcoinExtPubKey` classes, in favor of simple `Encode`/`Decode` functions. Furthermore, all Bitcoin-specific logic (addresses, WIF, BIP32) is moved to `key_io.{h,cpp}`, leaving `base58.{h,cpp}` as a pure utility that implements the base58 encoding/decoding logic. Tree-SHA512: a5962c0ed27ad53cbe00f22af432cf11aa530e3efc9798e25c004bc9ed1b5673db5df3956e398ee2c085e3a136ac8da69fe7a7d97a05fb2eb3be0b60d0479655
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
#include <qt/platformstyle.h>
|
||||
#include <qt/sendcoinsentry.h>
|
||||
|
||||
#include <base58.h>
|
||||
#include <chainparams.h>
|
||||
#include <key_io.h>
|
||||
#include <wallet/coincontrol.h>
|
||||
#include <validation.h> // mempool and minRelayTxFee
|
||||
#include <ui_interface.h>
|
||||
|
||||
Reference in New Issue
Block a user