Function bitcoin_scripting::eval_checksig
source · pub fn eval_checksig(
sig: &Vec<u8>,
pubkey: &Vec<u8>,
pbegincodehash: Box<ScriptIterator>,
pend: Box<ScriptIterator>,
execdata: &mut ScriptExecutionData,
flags: u32,
checker: &Box<dyn BaseSignatureChecker>,
sigversion: SigVersion,
serror: *mut ScriptError,
success: &mut bool
) -> bool
Expand description
| Helper for OP_CHECKSIG, OP_CHECKSIGVERIFY, | and (in Tapscript) OP_CHECKSIGADD. | | A return value of false means the script | fails entirely. When true is returned, | the success variable indicates whether | the signature check itself succeeded. |