HomePhabricator

test: Return new_utxo from create_self_transfer in MiniWallet

Description

test: Return new_utxo from create_self_transfer in MiniWallet

Summary:

I need this for some stuff, but it also makes sense on its own to:

    unify the flow with a private _create_utxo helper
    simplify the flow by giving the caller ownership of the utxo right away

Backport of core#25445.

Depends on D12736.

Note that all the changes are not applicable to our codebase but the most important ones do.

Test Plan:

ninja check-functional

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
MacroFake <falke.marco@gmail.com>Authored on Jun 22 2022, 08:50
FabienCommitted on Dec 3 2022, 14:45
FabienPushed on Dec 3 2022, 14:45
Reviewer
Restricted Project
Differential Revision
D12737: test: Return new_utxo from create_self_transfer in MiniWallet
Parents
rABC3884184588f6: test: Use MiniWallet in feature_coinstatsindex
Branches
Unknown
Tags
Unknown