diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-08-16 15:35:45 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-08-16 15:35:45 +0200 |
commit | d2c5d044d00ec805957ab246a7863d83ca075805 (patch) | |
tree | 154dd70f87cf7a91adeaa7658257c4faacf03e62 /src/script/sigcache.h | |
parent | 2c2d471e18f0601c2767cf516425b2ecfcfd2126 (diff) |
Precompute sighashes
Original version by Nicolas Dorier. Precomputing version by Pieter Wuille.
Diffstat (limited to 'src/script/sigcache.h')
-rw-r--r-- | src/script/sigcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sigcache.h b/src/script/sigcache.h index 050bf8cc42..551f8b2253 100644 --- a/src/script/sigcache.h +++ b/src/script/sigcache.h @@ -22,7 +22,7 @@ private: bool store; public: - CachingTransactionSignatureChecker(const CTransaction* txToIn, unsigned int nInIn, const CAmount& amount, bool storeIn) : TransactionSignatureChecker(txToIn, nInIn, amount), store(storeIn) {} + CachingTransactionSignatureChecker(const CTransaction* txToIn, unsigned int nInIn, const CAmount& amount, bool storeIn, CachedHashes& cachedHashesIn) : TransactionSignatureChecker(txToIn, nInIn, amount, cachedHashesIn), store(storeIn) {} bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const; }; |