Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 &amount, PrecomputedTransactionData &txdataIn, bool storeIn=true)
 
bool VerifySignature (const std::vector< unsigned char > &vchSig, const CPubKey &vchPubKey, const uint256 &sighash) const override
 
- Public Member Functions inherited from TransactionSignatureChecker
 TransactionSignatureChecker (const CTransaction *txToIn, unsigned int nInIn, const CAmount &amountIn)
 
 TransactionSignatureChecker (const CTransaction *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 amount,
PrecomputedTransactionData txdataIn,
bool  storeIn = true 
)
inline

Definition at line 49 of file sigcache.h.

Member Function Documentation

◆ VerifySignature()

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

Reimplemented from TransactionSignatureChecker.

Definition at line 83 of file sigcache.cpp.

References store, and TransactionSignatureChecker::VerifySignature().

Member Data Documentation

◆ store

bool CachingTransactionSignatureChecker::store
private

Definition at line 46 of file sigcache.h.

Referenced by VerifySignature().


The documentation for this class was generated from the following files:
Released under the MIT license