Go to the source code of this file.
◆ FillPSBT()
Fills out a PSBT with information from the wallet. Fills in UTXOs if we have them. Tries to sign if sign=true. Sets complete
if the PSBT is now complete (i.e. has all required signatures or signature-parts, and is ready to finalize.) Sets error
and returns false if something goes wrong.
- Parameters
-
[in] | pwallet | pointer to a wallet |
[in] | &psbtx | reference to PartiallySignedTransaction to fill in |
[out] | &complete | indicates whether the PSBT is now complete |
[in] | sighash_type | the sighash type to use when signing (if PSBT does not specify) |
[in] | sign | whether to sign or not |
[in] | bip32derivs | whether to fill in bip32 derivation information if available return error |