HomePhabricator

[tests] move wallet util functions to wallet_util.py

Description

[tests] move wallet util functions to wallet_util.py

Summary:
Adds a new wallet_util.py module and moves generic helper functions
there:

  • get_key
  • get_multisig
  • test_address

This is a partial backport of Core PR15108 : https://github.com/bitcoin/bitcoin/pull/15108/commits/2d5f1ea2e3f9629d313f1d2aff94a15ef8e1128a

Depends on D6186 and D6185

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Dec 13 2018, 17:43
deadalnixCommitted on May 21 2020, 13:10
deadalnixPushed on May 21 2020, 13:10
Reviewer
Restricted Project
Differential Revision
D6187: [tests] move wallet util functions to wallet_util.py
Parents
rABC97962fdeaca1: [tests] tidy up wallet_importmulti.py
Branches
Unknown
Tags
Unknown