| 41 | }; |
| 42 | |
| 43 | class CachingTransactionSignatureChecker : public TransactionSignatureChecker |
| 44 | { |
| 45 | private: |
| 46 | bool store; |
| 47 | |
| 48 | public: |
| 49 | CachingTransactionSignatureChecker(const CTransaction* txToIn, unsigned int nInIn, const CAmount& amountIn, bool storeIn, PrecomputedTransactionData& txdataIn) : TransactionSignatureChecker(txToIn, nInIn, amountIn, txdataIn), store(storeIn) {} |
| 50 | |
| 51 | bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const override; |
| 52 | }; |
| 53 | |
| 54 | void InitSignatureCache(); |
| 55 |