Function bitcoin_signingprovider::sign_step
source · pub fn sign_step(
provider: &SigningProvider,
creator: &dyn BaseSignatureCreator,
script_pub_key: &Script,
ret: &mut Vec<ValType>,
which_type_ret: &mut TxoutType,
sigversion: SigVersion,
sigdata: &mut SignatureData
) -> bool
Expand description
| Sign scriptPubKey using signature | made with creator. | | Signatures are returned in scriptSigRet | (or returns false if scriptPubKey can’t | be signed), unless whichTypeRet is | TxoutType::SCRIPTHASH, in which case | scriptSigRet is the redemption script. | | Returns false if scriptPubKey could | not be completely satisfied. |