diff options
author | Andrew Chow <achow101-github@achow101.com> | 2018-07-31 17:57:15 -0700 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-02-16 00:04:27 -0500 |
commit | cb40b3abd4514361a024a1e7a1a281da9261261b (patch) | |
tree | 0bfab83a9b752625a3ee28022318a96a7df5c0a9 /src/psbt.h | |
parent | 08f749c9147a5f3fdbbd880e0974b97084429002 (diff) | |
download | bitcoin-cb40b3abd4514361a024a1e7a1a281da9261261b.tar.xz |
Figure out what is missing during signing
When signing an input, figure out what was requested for but was unable
to be found and store it in a SignatureData.
Return this information in SignPSBTInput.
Diffstat (limited to 'src/psbt.h')
-rw-r--r-- | src/psbt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psbt.h b/src/psbt.h index 982fb803d5..cc4882c580 100644 --- a/src/psbt.h +++ b/src/psbt.h @@ -544,7 +544,7 @@ struct PartiallySignedTransaction bool PSBTInputSigned(PSBTInput& input); /** Signs a PSBTInput, verifying that all provided data matches what is being signed. */ -bool SignPSBTInput(const SigningProvider& provider, PartiallySignedTransaction& psbt, int index, int sighash = SIGHASH_ALL); +bool SignPSBTInput(const SigningProvider& provider, PartiallySignedTransaction& psbt, int index, int sighash = SIGHASH_ALL, SignatureData* out_sigdata = nullptr, bool use_dummy = false); /** * Finalizes a PSBT if possible, combining partial signatures. |