From cb40b3abd4514361a024a1e7a1a281da9261261b Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Tue, 31 Jul 2018 17:57:15 -0700 Subject: 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. --- src/psbt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/psbt.h') 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. -- cgit v1.2.3