0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-04 10:07:27 -05:00
bitcoin-bitcoin-core/src/test/data
Wladimir J. van der Laan b225010a80
Merge #11372: Address encoding cleanup
92f1f8b31 Split off key_io_tests from base58_tests (Pieter Wuille)
119b0f85e Split key_io (address/key encodings) off from base58 (Pieter Wuille)
ebfe217b1 Stop using CBase58Data for ext keys (Pieter Wuille)
32e69fa0d Replace 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
2018-03-07 00:09:48 +01:00
..
base58_encode_decode.json data-driven base58 CBitcoinAddress/CBitcoinSecret tests 2012-10-01 04:57:26 +02:00
key_io_invalid.json Split off key_io_tests from base58_tests 2018-02-19 18:55:21 -08:00
key_io_valid.json Split off key_io_tests from base58_tests 2018-02-19 18:55:21 -08:00
README.md Remove redundant copyright notices from README files 2015-01-02 10:46:23 +01:00
script_tests.json Add some script tests related to BOOL ops and odd values like negative 0. 2018-02-13 10:35:04 -08:00
sighash.json Add sighash tests from data file 2014-03-31 11:19:19 -03:00
tx_invalid.json Fix a-vs-an typos 2018-02-11 10:48:15 +01:00
tx_valid.json Add a test for large tx output scripts with segwit input. 2018-03-04 17:24:43 -08:00

Description

This directory contains data-driven tests for various aspects of Bitcoin.

License

The data files in this directory are distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.