dash/test/functional/test_framework
MarcoFalke d5a8d5e6a0
Merge bitcoin/bitcoin#22048: test: MiniWallet: introduce enum type for output mode
6cebac598e5e85eadd60eb1274d7f33d63ce1108 test: MiniWallet: introduce enum type for output mode (Sebastian Falbesoner)

Pull request description:

  This is a follow-up PR to #21945 which lifted the number of MiniWallet's tx output modes from 2 to 3 (by adding P2PK Support).
  Since the current way of specifying the mode on the ctor via two booleans is ugly and error-prone (see table in comment https://github.com/bitcoin/bitcoin/pull/21945#issuecomment-842526575), a new Enum type `MiniWalletMode` is introduced that can hold the following values:

  - ADDRESS_OP_TRUE
  - RAW_OP_TRUE
  - RAW_P2PK

  Also adds documentation that should guide the user on which mode is useful for what etc. with a summary table. (Can also be split up in a separate commit or shortened if that is desired, maybe it's considered to be too verbose).

ACKs for top commit:
  MarcoFalke:
    cr ACK 6cebac598e5e85eadd60eb1274d7f33d63ce1108

Tree-SHA512: cbbc10806d9d9e62829548094415e9f1a281cd247b9a9fc7f7f33b923c723aa03e7bc3024623a77fb1f7da4d73455fa8244840f746980d32acdad97ee12100da
2024-07-26 23:40:08 +07:00
..
crypto
__init__.py
address.py Merge #19253: Tests: tidy up address.py and segwit_addr.py 2024-04-10 01:58:59 +07:00
authproxy.py
bdb.py Merge #21124: test: remove unnecessary assignment in bdb 2024-06-04 12:50:36 -05:00
bip340_test_vectors.csv
blockfilter.py
blocktools.py Merge bitcoin/bitcoin#22308: wallet: Add missing BlockUntilSyncedToCurrentChain 2024-05-15 03:03:17 +07:00
coverage.py
descriptors.py
key.py
messages.py Merge #5978: backport: merge bitcoin#21594, #21843, #22306, #22211, #22387, #21528, #22616, #22604, #22960, #23218 (networking backports: part 3) 2024-04-15 10:49:14 -05:00
netutil.py test: disable ipv6 tests for now 2024-04-21 15:12:18 +03:00
p2p.py Merge #5978: backport: merge bitcoin#21594, #21843, #22306, #22211, #22387, #21528, #22616, #22604, #22960, #23218 (networking backports: part 3) 2024-04-15 10:49:14 -05:00
script_util.py Merge #20813: scripted-diff: Bump copyright headers 2024-04-10 03:19:34 +07:00
script.py
socks5.py
test_framework.py merge bitcoin#21762: Speed up mempool_spend_coinbase.py 2024-07-23 17:45:23 +00:00
test_node.py fix: createwallet to require 'load_on_startup' for descriptor wallets 2024-07-07 21:56:16 +07:00
test_shell.py
util.py merge bitcoin#20286: deprecate addresses and reqSigs from rpc outputs 2024-06-27 19:27:37 +00:00
wallet_util.py
wallet.py Merge bitcoin/bitcoin#22048: test: MiniWallet: introduce enum type for output mode 2024-07-26 23:40:08 +07:00