bitcoin/test/functional/test_framework
glozow 147d64dbdf
Merge bitcoin/bitcoin#25858: psbt: Only include PSBT_OUT_TAP_TREE when the output has a script path
9e386afb67 tests: Test that PSBT_OUT_TAP_TREE is included correctly (Andrew Chow)
30ff25cf37 psbt: Only include m_tap_tree if it has scripts (Andrew Chow)
0577d423ad psbt: Change m_tap_tree to store just the tuples (Andrew Chow)
22c051ca70 tests: Test that PSBT_OUT_TAP_TREE is combined correctly (Andrew Chow)
7df6e1bb77 psbt: Fix merging of m_tap_tree (Andrew Chow)
0652dc53b2 [BugFix]: Do not allow deserializing PSBT with empty PSBT_OUT_TAP_TREE (Jeremy Rubin)

Pull request description:

  PSBT_OUT_TAP_TREE should not be included for outputs that do not have such a tree. This should be disallowed during parsing, as well as prior to serialization when the field is populated during updating.

  Also added some test cases.

  Alternative to #25856

ACKs for top commit:
  instagibbs:
    ACK 9e386afb67
  darosior:
    ACK 9e386afb67

Tree-SHA512: ce5c02a69752d176dbd967c1e8d30129b1905c8f186aeeef034576c1de82059271a1ee846bd040f5be4e66bb77ba711dcf14ac1e597c5707d7e7e2293f6cfefb
2022-10-13 09:40:27 -04:00
..
__init__.py
address.py
authproxy.py
bdb.py
bip340_test_vectors.csv
blocktools.py
coverage.py
descriptors.py
key.py
messages.py test: Test that an unconfirmed not-in-mempool chain is rebroadcast 2022-08-29 12:41:50 -04:00
muhash.py
netutil.py
p2p.py
psbt.py tests: Test that PSBT_OUT_TAP_TREE is combined correctly 2022-10-06 15:32:45 -04:00
ripemd160.py
script.py
script_util.py
segwit_addr.py
siphash.py
socks5.py
test_framework.py test: Avoid race in disconnect_nodes helper 2022-09-20 15:48:05 +02:00
test_node.py Create BCLog::Level::Trace log severity level 2022-08-20 11:55:17 +02:00
test_shell.py
util.py
wallet.py test: Target exact weight in MiniWallet _bulk_tx 2022-08-03 12:02:20 +02:00
wallet_util.py