Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CachingTransactionSignatureChecker Class Reference

#include <sigcache.h>

Inheritance diagram for CachingTransactionSignatureChecker:
[legend]
Collaboration diagram for CachingTransactionSignatureChecker:
[legend]

Public Member Functions

 CachingTransactionSignatureChecker (const CTransaction *txToIn, unsigned int nInIn, const CAmount &amountIn, bool storeIn, PrecomputedTransactionData &txdataIn)
 
bool VerifyECDSASignature (const std::vector< unsigned char > &vchSig, const CPubKey &vchPubKey, const uint256 &sighash) const override
 
bool VerifySchnorrSignature (Span< const unsigned char > sig, const XOnlyPubKey &pubkey, const uint256 &sighash) const override
 
- Public Member Functions inherited from GenericTransactionSignatureChecker< T >
 GenericTransactionSignatureChecker (const T *txToIn, unsigned int nInIn, const CAmount &amountIn)
 
 GenericTransactionSignatureChecker (const T *txToIn, unsigned int nInIn, const CAmount &amountIn, const PrecomputedTransactionData &txdataIn)
 
bool CheckECDSASignature (const std::vector< unsigned char > &scriptSig, const std::vector< unsigned char > &vchPubKey, const CScript &scriptCode, SigVersion sigversion) const override
 
bool CheckSchnorrSignature (Span< const unsigned char > sig, Span< const unsigned char > pubkey, SigVersion sigversion, const ScriptExecutionData &execdata, ScriptError *serror=nullptr) const override
 
bool CheckLockTime (const CScriptNum &nLockTime) const override
 
bool CheckSequence (const CScriptNum &nSequence) const override
 
- Public Member Functions inherited from BaseSignatureChecker
virtual ~BaseSignatureChecker ()
 

Private Attributes

bool store
 

Additional Inherited Members

Detailed Description

Definition at line 44 of file sigcache.h.

Constructor & Destructor Documentation

◆ CachingTransactionSignatureChecker()

CachingTransactionSignatureChecker::CachingTransactionSignatureChecker ( const CTransaction txToIn,
unsigned int  nInIn,
const CAmount amountIn,
bool  storeIn,
PrecomputedTransactionData txdataIn 
)
inline

Definition at line 50 of file sigcache.h.

Here is the call graph for this function:

Member Function Documentation

◆ VerifyECDSASignature()

bool CachingTransactionSignatureChecker::VerifyECDSASignature ( const std::vector< unsigned char > &  vchSig,
const CPubKey vchPubKey,
const uint256 sighash 
) const
overridevirtual

Reimplemented from GenericTransactionSignatureChecker< T >.

Definition at line 101 of file sigcache.cpp.

Here is the call graph for this function:

◆ VerifySchnorrSignature()

bool CachingTransactionSignatureChecker::VerifySchnorrSignature ( Span< const unsigned char >  sig,
const XOnlyPubKey pubkey,
const uint256 sighash 
) const
overridevirtual

Reimplemented from GenericTransactionSignatureChecker< T >.

Definition at line 114 of file sigcache.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ store

bool CachingTransactionSignatureChecker::store
private

Definition at line 47 of file sigcache.h.


The documentation for this class was generated from the following files: