Changeset View
Changeset View
Standalone View
Standalone View
src/script/sigcache.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | CachingTransactionSignatureChecker(const CTransaction *txToIn, | ||||
unsigned int nInIn, const Amount amount, | unsigned int nInIn, const Amount amount, | ||||
bool storeIn, | bool storeIn, | ||||
PrecomputedTransactionData &txdataIn) | PrecomputedTransactionData &txdataIn) | ||||
: TransactionSignatureChecker(txToIn, nInIn, amount, txdataIn), | : TransactionSignatureChecker(txToIn, nInIn, amount, txdataIn), | ||||
store(storeIn) {} | store(storeIn) {} | ||||
bool VerifySignature(const std::vector<uint8_t> &vchSig, | bool VerifySignature(const std::vector<uint8_t> &vchSig, | ||||
const CPubKey &vchPubKey, | const CPubKey &vchPubKey, | ||||
const uint256 &sighash) const; | const uint256 &sighash) const override; | ||||
}; | }; | ||||
void InitSignatureCache(); | void InitSignatureCache(); | ||||
#endif // BITCOIN_SCRIPT_SIGCACHE_H | #endif // BITCOIN_SCRIPT_SIGCACHE_H |