Changeset View
Changeset View
Standalone View
Standalone View
src/psbt.h
Show First 20 Lines • Show All 484 Lines • ▼ Show 20 Lines | |||||
bool PSBTInputSigned(PSBTInput &input); | bool PSBTInputSigned(PSBTInput &input); | ||||
/** | /** | ||||
* Signs a PSBTInput, verifying that all provided data matches what is being | * Signs a PSBTInput, verifying that all provided data matches what is being | ||||
* signed. | * signed. | ||||
*/ | */ | ||||
bool SignPSBTInput(const SigningProvider &provider, | bool SignPSBTInput(const SigningProvider &provider, | ||||
PartiallySignedTransaction &psbt, int index, | PartiallySignedTransaction &psbt, int index, | ||||
SigHashType sighash = SigHashType()); | SigHashType sighash = SigHashType(), | ||||
SignatureData *out_sigdata = nullptr, | |||||
bool use_dummy = false); | |||||
/** | /** | ||||
* Finalizes a PSBT if possible, combining partial signatures. | * Finalizes a PSBT if possible, combining partial signatures. | ||||
* | * | ||||
* @param[in,out] &psbtx reference to PartiallySignedTransaction to finalize | * @param[in,out] &psbtx reference to PartiallySignedTransaction to finalize | ||||
* return True if the PSBT is now complete, false otherwise | * return True if the PSBT is now complete, false otherwise | ||||
*/ | */ | ||||
bool FinalizePSBT(PartiallySignedTransaction &psbtx); | bool FinalizePSBT(PartiallySignedTransaction &psbtx); | ||||
Show All 27 Lines |