| 81 | } |
| 82 | |
| 83 | bool CachingTransactionSignatureChecker::VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& pubkey, const uint256& sighash) const |
| 84 | { |
| 85 | uint256 entry; |
| 86 | signatureCache.ComputeEntry(entry, sighash, vchSig, pubkey); |
| 87 | if (signatureCache.Get(entry, !store)) |
| 88 | return true; |
| 89 | if (!TransactionSignatureChecker::VerifySignature(vchSig, pubkey, sighash)) |
| 90 | return false; |
| 91 | if (store) |
| 92 | signatureCache.Set(entry); |
| 93 | return true; |
| 94 | } |
nothing calls this directly
no test coverage detected