HomePhabricator

Implement IsMine for DescriptorScriptPubKeyMan

Description

Implement IsMine for DescriptorScriptPubKeyMan

Summary:
Adds a set of scriptPubKeys that DescriptorScriptPubKeyMan tracks.
If the given script is in that set, it is considered ISMINE_SPENDABLE

Backport of Core PR16528 [11/43] : https://github.com/bitcoin/bitcoin/pull/16528/commits/2db7ca765c8fb2c71dd6f7c4f29ad70e68ff1720

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Jul 5 2019, 22:33
deadalnixCommitted on Nov 15 2020, 00:50
deadalnixPushed on Nov 15 2020, 00:50
Reviewer
Restricted Project
Differential Revision
D8409: Implement IsMine for DescriptorScriptPubKeyMan
Parents
rABC8d87af1d95e3: Add LoadDescriptorScriptPubKeyMan and SetActiveScriptPubKeyMan to CWallet
Branches
Unknown
Tags
Unknown