diff options
| author | Pieter Wuille <[email protected]> | 2016-08-16 15:35:45 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-08-16 15:35:45 +0200 |
| commit | d2c5d044d00ec805957ab246a7863d83ca075805 (patch) | |
| tree | 154dd70f87cf7a91adeaa7658257c4faacf03e62 /src/script/sigcache.h | |
| parent | Merge #8516: [trivial] remove no-longer-used InitError logic (diff) | |
| download | discoin-d2c5d044d00ec805957ab246a7863d83ca075805.tar.xz discoin-d2c5d044d00ec805957ab246a7863d83ca075805.zip | |
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 050bf8cc4..551f8b225 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; }; |