HomePhabricator

[backport#15427 3/3] Add support for descriptors to utxoupdatepsbt

Description

[backport#15427 3/3] Add support for descriptors to utxoupdatepsbt

Summary:
This adds a descriptors argument to the utxoupdatepsbt RPC. This means:

  • Input and output scripts and keys will be filled in when known
  • P2SH-witness outputs will be filled in from the UTXO set when a descriptor is provided to show they're segwit outputs.

https://github.com/bitcoin/bitcoin/pull/15427/commits/26fe9b990995f9cb5eee21d40b4daaad19f7181f


Depends on D6624

Concludes backport of Core PR15427

Test Plan:

ninja check-all

Reviewers: #bitcoin_abc, Fabien, deadalnix

Reviewed By: #bitcoin_abc, Fabien, deadalnix

Subscribers: deadalnix, Fabien

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Feb 16 2019, 22:59
majcostaCommitted on Jun 23 2020, 18:39
majcostaPushed on Jun 23 2020, 18:39
Reviewer
Restricted Project
Differential Revision
D6626: [backport#15427 3/3] Add support for descriptors to utxoupdatepsbt
Parents
rABC3264546a77b3: [backport#15427 2/3] Abstract out UpdatePSBTOutput from FillPSBT
Branches
Unknown
Tags
Unknown