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:
Collaboration diagram for CachingTransactionSignatureChecker:

Public Member Functions

 CachingTransactionSignatureChecker (const CTransaction *txToIn, unsigned int nInIn, const CAmount &amountIn, bool storeIn, PrecomputedTransactionData &txdataIn)
bool VerifySignature (const std::vector< unsigned char > &vchSig, const CPubKey &vchPubKey, 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 CheckSig (const std::vector< unsigned char > &scriptSig, const std::vector< unsigned char > &vchPubKey, const CScript &scriptCode, SigVersion sigversion) 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 43 of file sigcache.h.

Constructor & Destructor Documentation

◆ CachingTransactionSignatureChecker()

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

Definition at line 49 of file sigcache.h.

Here is the call graph for this function:

Member Function Documentation

◆ VerifySignature()

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

Reimplemented from GenericTransactionSignatureChecker< T >.

Definition at line 88 of file sigcache.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ store

bool CachingTransactionSignatureChecker::store

Definition at line 46 of file sigcache.h.

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