aboutsummaryrefslogtreecommitdiff
path: root/src/script/sigcache.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-09-01 12:09:36 +0200
committerPieter Wuille <[email protected]>2016-09-01 12:20:43 +0200
commit19b0f33de0efd9da788e8e4f3fdc2a9e159abdb1 (patch)
tree042f12d404c93d7739a0968cd2258f9222ad19f1 /src/script/sigcache.h
parentMerge #8612: Check for compatibility with download in FindNextBlocksToDownload (diff)
parentRename to PrecomputedTransactionData (diff)
downloaddiscoin-19b0f33de0efd9da788e8e4f3fdc2a9e159abdb1.tar.xz
discoin-19b0f33de0efd9da788e8e4f3fdc2a9e159abdb1.zip
Merge #8524: Precompute sighashes
35fe039 Rename to PrecomputedTransactionData (Pieter Wuille) ab48c5e Unit test for sighash caching (Nicolas DORIER) d2c5d04 Precompute sighashes (Pieter Wuille)
Diffstat (limited to 'src/script/sigcache.h')
-rw-r--r--src/script/sigcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/sigcache.h b/src/script/sigcache.h
index 050bf8cc4..44551ec2b 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, PrecomputedTransactionData& txdataIn) : TransactionSignatureChecker(txToIn, nInIn, amount, txdataIn), store(storeIn) {}
bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const;
};