| 1287 | } |
| 1288 | |
| 1289 | bool BaseSignatureChecker::VerifySignature(const std::vector<uint8_t>& vchSig, const CPubKey& pubkey, const uint256& sighash, uint32_t flags) const |
| 1290 | { |
| 1291 | if ((flags & SCRIPT_ENABLE_SCHNORR) && (vchSig.size() == 64)) { |
| 1292 | return pubkey.VerifySchnorr(sighash, vchSig); |
| 1293 | } else { |
| 1294 | return pubkey.VerifyECDSA(sighash, vchSig); |
| 1295 | } |
| 1296 | } |
| 1297 | |
| 1298 | bool TransactionSignatureChecker::CheckSig(const vector<unsigned char>& vchSigIn, const vector<unsigned char>& vchPubKey, const CScript& scriptCode, SigVersion sigversion, uint32_t flags) const |
| 1299 | { |
nothing calls this directly
no test coverage detected