Page MenuHomePhabricator

Move key and script filling and signing from CWallet::FillPSBT to ScriptPubKeyMan::FillPSBT
ClosedPublic

Authored by deadalnix on Oct 24 2020, 21:51.

Details

Summary

Instead of fetching a SigningProvider from ScriptPubKeyMan in order
to fill and sign the keys and scripts for a PSBT, just pass that
PSBT to a new FillPSBT function that does all that for us.

Backport of Core PR18115 part [6/9] : https://github.com/bitcoin/bitcoin/pull/18115/commits/82a30fade70a2a95c2bbeac4aa06dafda600479d

Depends on D8097

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable