HomePhabricator

test: use MiniWallet for mining_prioritisetransaction.py

Description

test: use MiniWallet for mining_prioritisetransaction.py

Summary:

This PR enables one more of the non-wallet functional tests (mining_prioritisetransaction.py) to be run even with the Bitcoin Code wallet by using the MiniWallet instead, as proposed in #20078. Note that the adapted helper function create_lots_of_big_transactions is currently only used in this test, i.e. there was no need to change any others.

Backport of core#24839.

Note that the test is slightly modified due to D1587, as gettransaction cannot be used anymore.

Test Plan:

./test/functional/test_runner.py mempool_limit mining_prioritisetransaction

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16443

Details

Provenance
Sebastian Falbesoner <sebastian.falbesoner@gmail.com>Authored on Apr 12 2022, 19:53
FabienCommitted on Jul 12 2024, 08:56
FabienPushed on Jul 12 2024, 08:56
Reviewer
Restricted Project
Differential Revision
D16443: test: use MiniWallet for mining_prioritisetransaction.py
Parents
rABC8354ecf06296: rpc: Return coinbase flag in scantxoutset
Branches
Unknown
Tags
Unknown