HomePhabricator

Fix: importmulti only imports origin info for PKH outputs

Description

Fix: importmulti only imports origin info for PKH outputs

Summary:

  • Keep full pubkeys in FlatSigningProvider::origins
  • Import all origin info in importmulti; even for non-importing pubkeys
  • Take non-importing keys into account for spendability warning in descriptor import

This is a backport of Core PR15749

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Apr 4 2019, 19:45
deadalnixCommitted on Jun 5 2020, 17:40
deadalnixPushed on Jun 5 2020, 17:40
Reviewer
Restricted Project
Differential Revision
D6385: Fix: importmulti only imports origin info for PKH outputs
Parents
rABC71e5ab2112db: [backport#13756] wallet: avoid reuse flags
Branches
Unknown
Tags
Unknown