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