6 #ifndef BITCOIN_SCRIPT_SIGCACHE_H 7 #define BITCOIN_SCRIPT_SIGCACHE_H 37 #endif // BITCOIN_SCRIPT_SIGCACHE_H static const std::string sighash
bool VerifySchnorrSignature(Span< const unsigned char > sig, const XOnlyPubKey &pubkey, const uint256 &sighash) const override
CachingTransactionSignatureChecker(const CTransaction *txToIn, unsigned int nInIn, const CAmount &amountIn, bool storeIn, PrecomputedTransactionData &txdataIn)
int64_t CAmount
Amount in satoshis (Can be negative)
Abort execution through assertion failure (for consensus code)
An encapsulated public key.
MissingDataBehavior
Enum to specify what *TransactionSignatureChecker's behavior should be when dealing with missing tran...
bool InitSignatureCache(size_t max_size_bytes)
bool VerifyECDSASignature(const std::vector< unsigned char > &vchSig, const CPubKey &vchPubKey, const uint256 &sighash) const override
static constexpr size_t DEFAULT_MAX_SIG_CACHE_BYTES
The basic transaction that is broadcasted on the network and contained in blocks. ...