LCOV - code coverage report
Current view: top level - src/script - sigcache.h (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 2 2 100.0 %
Date: 2015-10-12 22:39:14 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : // Copyright (c) 2009-2010 Satoshi Nakamoto
       2             : // Copyright (c) 2009-2014 The Bitcoin Core developers
       3             : // Distributed under the MIT software license, see the accompanying
       4             : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
       5             : 
       6             : #ifndef BITCOIN_SCRIPT_SIGCACHE_H
       7             : #define BITCOIN_SCRIPT_SIGCACHE_H
       8             : 
       9             : #include "script/interpreter.h"
      10             : 
      11             : #include <vector>
      12             : 
      13             : class CPubKey;
      14             : 
      15       11832 : class CachingTransactionSignatureChecker : public TransactionSignatureChecker
      16             : {
      17             : private:
      18             :     bool store;
      19             : 
      20             : public:
      21       11832 :     CachingTransactionSignatureChecker(const CTransaction* txToIn, unsigned int nInIn, bool storeIn=true) : TransactionSignatureChecker(txToIn, nInIn), store(storeIn) {}
      22             : 
      23             :     bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const;
      24             : };
      25             : 
      26             : #endif // BITCOIN_SCRIPT_SIGCACHE_H

Generated by: LCOV version 1.11