lbrycrd/test/util/data
Wladimir J. van der Laan aa624b61c9
Merge #11167: Full BIP173 (Bech32) support
8213838 [Qt] tolerate BIP173/bech32 addresses during input validation (Jonas Schnelli)
06eaca6 [RPC] Wallet: test importing of native witness scripts (NicolasDorier)
fd0041a Use BIP173 addresses in segwit.py test (Pieter Wuille)
e278f12 Support BIP173 in addwitnessaddress (Pieter Wuille)
c091b99 Implement BIP173 addresses and tests (Pieter Wuille)
bd355b8 Add regtest testing to base58_tests (Pieter Wuille)
6565c55 Convert base58_tests from type/payload to scriptPubKey comparison (Pieter Wuille)
8fd2267 Import Bech32 C++ reference code & tests (Pieter Wuille)
1e46ebd Implement {Encode,Decode}Destination without CBitcoinAddress (Pieter Wuille)

Pull request description:

  Builds on top of #11117.

  This adds support for:
  * Creating BIP173 addresses for testing (through `addwitnessaddress`, though by default it still produces P2SH versions)
  * Sending to BIP173 addresses (including non-v0 ones)
  * Analysing BIP173 addresses (through `validateaddress`)

  It includes a reformatted version of the [C++ Bech32 reference code](https://github.com/sipa/bech32/tree/master/ref/c%2B%2B) and an independent implementation of the address encoding/decoding logic (integrated with CTxDestination). All BIP173 test vectors are included.

  Not included (and intended for other PRs):
  * Full wallet support for SegWit (which would include automatically adding witness scripts to the wallet during automatic keypool topup, SegWit change outputs, ...) [see #11403]
  * Splitting base58.cpp and tests/base58_tests.cpp up into base58-specific code, and "address encoding"-code [see #11372]
  * Error locating in UI for BIP173 addresses.

Tree-SHA512: 238031185fd07f3ac873c586043970cc2db91bf7735c3c168cb33a3db39a7bda81d4891b649685bb17ef90dc63af0328e7705d8cd3e8dafd6c4d3c08fb230341
2017-09-29 10:18:45 +02:00
..
bitcoin-util-test.json Disallow uncompressed pubkeys in bitcoin-tx [multisig] output adds 2017-09-20 23:29:59 -04:00
blanktxv1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
blanktxv1.json refactor TxToJSON() and ScriptPubKeyToJSON() 2017-04-28 10:01:56 -04:00
blanktxv2.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
blanktxv2.json refactor TxToJSON() and ScriptPubKeyToJSON() 2017-04-28 10:01:56 -04:00
tt-delin1-out.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
tt-delin1-out.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
tt-delout1-out.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
tt-delout1-out.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
tt-locktime317000-out.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
tt-locktime317000-out.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
tx394b54bb.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreate1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreate1.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreate2.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreate2.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatedata1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatedata1.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatedata2.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatedata2.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatedata_seq0.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatedata_seq0.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatedata_seq1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatedata_seq1.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatemultisig1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatemultisig1.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatemultisig2.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatemultisig2.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatemultisig3.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatemultisig3.json Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
txcreatemultisig4.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatemultisig4.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatemultisig5.json Disallow uncompressed pubkeys in bitcoin-tx [multisig] output adds 2017-09-20 23:29:59 -04:00
txcreateoutpubkey1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreateoutpubkey1.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreateoutpubkey2.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreateoutpubkey2.json Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
txcreateoutpubkey3.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreateoutpubkey3.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatescript1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatescript1.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatescript2.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatescript2.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatescript3.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatescript3.json Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
txcreatescript4.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatescript4.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatesignv1.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00
txcreatesignv1.json rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv 2017-08-07 17:01:21 +02:00
txcreatesignv2.hex Move src/test/bitcoin-util-test.py to test/util/bitcoin-util-test.py 2017-03-20 10:40:31 -04:00