HomePhabricator

[tests] add get_key function to wallet_importmulti.py

Description

[tests] add get_key function to wallet_importmulti.py

Summary:
Adds a new get_key function which generates
a new key and returns the public key,
private key and all script and address types.

Partial backport of Core PR14886
https://github.com/bitcoin/bitcoin/pull/14886/commits/7c99614b40301daba5e526c6e3ab281965e869c6

Depends on D6051 and D6081

Test Plan:

test_runner.py wallet_importmulti

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

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

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on Dec 5 2018, 23:28
nakihitoCommitted on May 15 2020, 17:40
nakihitoPushed on May 15 2020, 17:40
Reviewer
Restricted Owners Package
Differential Revision
D6083: [tests] add get_key function to wallet_importmulti.py
Parents
rABC41707be22c38: Partial Merge #14454: ProcessImport() cleanup (excluding witness)
Branches
Unknown
Tags
Unknown