HomePhabricator

Use importdescriptors when in descriptor wallet mode in wallet_createwallet.py

Description

Use importdescriptors when in descriptor wallet mode in wallet_createwallet.py

Summary:
sethdseed and importmulti are not available for descriptor wallets, so when doing descriptor wallet tests, use importdescriptors instead

The keypool size when using descriptor wallets is unaffected for Bitcoin ABC, because our descriptors wallets have only the p2pkh keys.

This is a backport of core#18788 [7/15]
https://github.com/bitcoin/bitcoin/pull/18788/commits/25bc5dccbfd52691adca6edd418dd54290300c28

Test Plan: test/functional/test_runner.py wallet_createwallet

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Apr 7 2020, 17:51
PiRKCommitted on Dec 15 2021, 15:52
PiRKPushed on Dec 15 2021, 15:52
Reviewer
Restricted Project
Differential Revision
D10669: Use importdescriptors when in descriptor wallet mode in wallet_createwallet.py
Parents
rABCe2504290d452: [Cashtab] Clear amount & address fields on send
Branches
Unknown
Tags
Unknown