HomePhabricator

Factor out combine / finalize / extract PSBT helpers

Description

Factor out combine / finalize / extract PSBT helpers

Summary:

Refactor the new CombinePSBT, FinalizePSBT, and FinalizeAndExtractPSBT
general-purpose functions out of the combinepsbt and finalizepsbt RPCs,
for use in the GUI code.

Completes backport of core PR14978:
https://github.com/bitcoin/bitcoin/pull/14978/commits/102faad81efa1cb12c29c466cfe81fc8c7351e1d

Depends on D5739.

Test Plan:

ninja all check check-functional

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Glenn Willen <gwillen@nerdnet.org>Authored on Jan 9 2019, 11:08
FabienCommitted on Apr 16 2020, 13:57
FabienPushed on Apr 16 2020, 13:57
Reviewer
Restricted Project
Differential Revision
D5740: Factor out combine / finalize / extract PSBT helpers
Parents
rABC0a01c8cf9d86: Switch away from exceptions in refactored tx code
Branches
Unknown
Tags
Unknown