aboutsummaryrefslogtreecommitdiff
path: root/src/script/sigcache.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2015-01-27 09:28:45 -0400
committerWladimir J. van der Laan <laanwj@gmail.com>2015-02-03 08:48:04 +0100
commit1bbad80bf4a939bcacd419f19e46a12a5baa6174 (patch)
tree8f19f79175a3895ece6668c587c02afcae863d3a /src/script/sigcache.h
parentb788c5561ae6d78a3ca3ab2d3f431ad9b3d86bfc (diff)
Use separate SignatureChecker for CMutableTransaction
Conflicts: src/main.cpp src/script/bitcoinconsensus.cpp Rebased-From: 858809a33e4f690c4ad213f44a6c4465fc2ef025 Github-Pull: #5719
Diffstat (limited to 'src/script/sigcache.h')
-rw-r--r--src/script/sigcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/sigcache.h b/src/script/sigcache.h
index df2a2ea13c..88880476bf 100644
--- a/src/script/sigcache.h
+++ b/src/script/sigcache.h
@@ -12,13 +12,13 @@
class CPubKey;
-class CachingSignatureChecker : public SignatureChecker
+class CachingTransactionSignatureChecker : public TransactionSignatureChecker
{
private:
bool store;
public:
- CachingSignatureChecker(const CTransaction& txToIn, unsigned int nInIn, bool storeIn=true) : SignatureChecker(txToIn, nInIn), store(storeIn) {}
+ CachingTransactionSignatureChecker(const CTransaction& txToIn, unsigned int nInIn, bool storeIn=true) : TransactionSignatureChecker(txToIn, nInIn), store(storeIn) {}
bool VerifySignature(const std::vector<unsigned char>& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const;
};