opcodeCheckSigVerify is a combination of opcodeCheckSig and opcodeVerify. The opcodeCheckSig function is invoked followed by opcodeVerify. See the documentation for each of those opcodes for more details. Stack transformation: [... signature pubkey] -> [... bool] -> [...]
(op *opcode, data []byte, vm *Engine)
| 2107 | // |
| 2108 | // Stack transformation: [... signature pubkey] -> [... bool] -> [...] |
| 2109 | func opcodeCheckSigVerify(op *opcode, data []byte, vm *Engine) error { |
| 2110 | err := opcodeCheckSig(op, data, vm) |
| 2111 | if err == nil { |
| 2112 | err = abstractVerify(op, vm, ErrCheckSigVerify) |
| 2113 | } |
| 2114 | return err |
| 2115 | } |
| 2116 | |
| 2117 | // opcodeCheckSigAdd implements the OP_CHECKSIGADD operation defined in BIP |
| 2118 | // 342. This is a replacement for OP_CHECKMULTISIGVERIFY and OP_CHECKMULTISIG |
nothing calls this directly
no test coverage detected
searching dependent graphs…