dash/test/functional/test_framework
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
..
__init__.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
address.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
authproxy.py [tests] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blockstore.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blocktools.py Tests: Refactor to create witness script creation function 2017-04-20 11:28:45 -07:00
comptool.py qa: Move wait_until to util 2017-08-17 15:17:09 +02:00
coverage.py [tests] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
key.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
mininode.py Merge #11323: mininode: add an optimistic write and disable nagle 2017-09-18 21:10:21 +02:00
netutil.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
script.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
segwit_addr.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
siphash.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
socks5.py Use the variable name _ for unused return values 2017-08-28 15:18:14 +02:00
test_framework.py [test] Add restart_node to BitcoinTestFramework 2017-09-20 15:38:09 +01:00
test_node.py [test] Replace check_output with low level version 2017-09-07 00:35:28 +01:00
util.py [test] Add assert_raises_process_error to assert process errors 2017-09-07 00:35:28 +01:00