diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-29 09:07:41 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-09-29 09:13:07 +0200 |
commit | 33e31f8df920acd3a4b13aab5bd6a6733480133a (patch) | |
tree | 83ff6d7ec3ee150c27191e4cf411424a5866c6d8 /test/functional/test_framework/script_util.py | |
parent | 8daecf4d1d86823f7ba2c9f02eaf0d49893084be (diff) | |
parent | cfdb6baa22b8eb526fcbe1e5131bf4a3fd0cd672 (diff) |
Merge bitcoin/bitcoin#23079: test: use MiniWallet for p2p_filter.py
cfdb6baa22b8eb526fcbe1e5131bf4a3fd0cd672 test: use MiniWallet for p2p_filter.py (Sebastian Falbesoner)
6fc2cd3f09d023b2e971dcdf8472956259f94c1d test: introduce helper to create random P2WPKH scriptPubKeys (Sebastian Falbesoner)
aa26797f69e6ed10efcad9fb07be7f5b3b0ee513 test: MiniWallet: add `send_to` method to create arbitrary txouts (Sebastian Falbesoner)
Pull request description:
This PR enables one more of the non-wallet functional tests (p2p_filter.py) to be run even with the Bitcoin Core wallet disabled by using the MiniWallet instead, as proposed in #20078.
For this purpose, a MiniWallet method `send_to` is introduced first, which allows to create arbitrary outputs (scriptPubKey/amount). Note that the implementation for this is already present in feature_rbf.py (recently added in PR #22998), i.e. it is simply moved to the MiniWallet interface.
ACKs for top commit:
laanwj:
Code review ACK cfdb6baa22b8eb526fcbe1e5131bf4a3fd0cd672
Tree-SHA512: 13b063631f0d7af065b7757cfe8b47c9be6cb9850ac5db2968a2bba4f5a18cdc9f89173a9b03971545356225082042f5fdbe49d3036027d18e8b7eb042d04f5e
Diffstat (limited to 'test/functional/test_framework/script_util.py')
0 files changed, 0 insertions, 0 deletions