Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TransactionSignatureChecker Class Reference

#include <interpreter.h>

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

Public Member Functions

 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 ()
 

Protected Member Functions

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

Private Attributes

const CTransactiontxTo
 
unsigned int nIn
 
const CAmount amount
 
const PrecomputedTransactionDatatxdata
 

Detailed Description

Definition at line 153 of file interpreter.h.

Constructor & Destructor Documentation

TransactionSignatureChecker::TransactionSignatureChecker ( const CTransaction txToIn,
unsigned int  nInIn,
const CAmount amountIn 
)
inline

Definition at line 165 of file interpreter.h.

TransactionSignatureChecker::TransactionSignatureChecker ( const CTransaction txToIn,
unsigned int  nInIn,
const CAmount amountIn,
const PrecomputedTransactionData txdataIn 
)
inline

Definition at line 166 of file interpreter.h.

Member Function Documentation

bool TransactionSignatureChecker::CheckLockTime ( const CScriptNum nLockTime) const
overridevirtual

Reimplemented from BaseSignatureChecker.

Definition at line 1294 of file interpreter.cpp.

bool TransactionSignatureChecker::CheckSequence ( const CScriptNum nSequence) const
overridevirtual

Reimplemented from BaseSignatureChecker.

Definition at line 1330 of file interpreter.cpp.

Here is the call graph for this function:

bool TransactionSignatureChecker::CheckSig ( const std::vector< unsigned char > &  scriptSig,
const std::vector< unsigned char > &  vchPubKey,
const CScript scriptCode,
SigVersion  sigversion 
) const
overridevirtual

Reimplemented from BaseSignatureChecker.

Definition at line 1273 of file interpreter.cpp.

Here is the call graph for this function:

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

Reimplemented in CachingTransactionSignatureChecker.

Definition at line 1268 of file interpreter.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

const CAmount TransactionSignatureChecker::amount
private

Definition at line 158 of file interpreter.h.

unsigned int TransactionSignatureChecker::nIn
private

Definition at line 157 of file interpreter.h.

const PrecomputedTransactionData* TransactionSignatureChecker::txdata
private

Definition at line 159 of file interpreter.h.

const CTransaction* TransactionSignatureChecker::txTo
private

Definition at line 156 of file interpreter.h.


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