diff options
| author | Andrew Chow <[email protected]> | 2018-07-31 17:57:15 -0700 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2019-02-16 00:04:27 -0500 |
| commit | cb40b3abd4514361a024a1e7a1a281da9261261b (patch) | |
| tree | 0bfab83a9b752625a3ee28022318a96a7df5c0a9 /src/psbt.h | |
| parent | Implement joinpsbts RPC and tests (diff) | |
| download | discoin-cb40b3abd4514361a024a1e7a1a281da9261261b.tar.xz discoin-cb40b3abd4514361a024a1e7a1a281da9261261b.zip | |
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 982fb803d..cc4882c58 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. |