PRCYCoin  2.0.0.7rc1
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)
 
bool CheckSig (const std::vector< unsigned char > &scriptSig, const std::vector< unsigned char > &vchPubKey, const CScript &scriptCode) const
 
bool CheckLockTime (const CScriptNum &nLockTime) const
 
- 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
 

Detailed Description

Definition at line 104 of file interpreter.h.

Constructor & Destructor Documentation

◆ TransactionSignatureChecker()

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

Definition at line 114 of file interpreter.h.

Member Function Documentation

◆ CheckLockTime()

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

Reimplemented from BaseSignatureChecker.

Definition at line 1127 of file interpreter.cpp.

◆ CheckSig()

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

Reimplemented from BaseSignatureChecker.

Definition at line 1106 of file interpreter.cpp.

Here is the call graph for this function:

◆ VerifySignature()

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

Reimplemented in CachingTransactionSignatureChecker.

Definition at line 1101 of file interpreter.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ nIn

unsigned int TransactionSignatureChecker::nIn
private

Definition at line 108 of file interpreter.h.

◆ txTo

const CTransaction* TransactionSignatureChecker::txTo
private

Definition at line 107 of file interpreter.h.


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