| 306 | }; |
| 307 | |
| 308 | bool SignatureExtractorChecker::CheckSig(const std::vector<unsigned char>& scriptSig, const std::vector<unsigned char>& vchPubKey, const CScript& scriptCode, SigVersion sigversion, bool no_forkid) const |
| 309 | { |
| 310 | if (checker.CheckSig(scriptSig, vchPubKey, scriptCode, sigversion, no_forkid)) { |
| 311 | CPubKey pubkey(vchPubKey); |
| 312 | sigdata.signatures.emplace(pubkey.GetID(), SigPair(pubkey, scriptSig)); |
| 313 | return true; |
| 314 | } |
| 315 | return false; |
| 316 | } |
| 317 | |
| 318 | namespace |
| 319 | { |
no test coverage detected