Bitcoin ABC 0.30.5
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
GenericTransactionSignatureChecker< T > Class Template Reference

#include <interpreter.h>

Inheritance diagram for GenericTransactionSignatureChecker< T >:
[legend]
Collaboration diagram for GenericTransactionSignatureChecker< T >:
[legend]

Public Member Functions

 GenericTransactionSignatureChecker (const T *txToIn, unsigned int nInIn, const Amount &amountIn)
 
 GenericTransactionSignatureChecker (const T *txToIn, unsigned int nInIn, const Amount &amountIn, const PrecomputedTransactionData &txdataIn)
 
bool CheckSig (const std::vector< uint8_t > &vchSigIn, const std::vector< uint8_t > &vchPubKey, const CScript &scriptCode, uint32_t flags) const final override
 
bool CheckLockTime (const CScriptNum &nLockTime) const final override
 
bool CheckSequence (const CScriptNum &nSequence) const final override
 
- Public Member Functions inherited from BaseSignatureChecker
virtual bool VerifySignature (const std::vector< uint8_t > &vchSig, const CPubKey &vchPubKey, const uint256 &sighash) const
 
virtual bool CheckSig (const std::vector< uint8_t > &vchSigIn, const std::vector< uint8_t > &vchPubKey, const CScript &scriptCode, uint32_t flags) const
 
virtual bool CheckLockTime (const CScriptNum &nLockTime) const
 
virtual bool CheckSequence (const CScriptNum &nSequence) const
 
virtual ~BaseSignatureChecker ()
 

Private Attributes

const T * txTo
 
unsigned int nIn
 
const Amount amount
 
const PrecomputedTransactionDatatxdata
 

Detailed Description

template<class T>
class GenericTransactionSignatureChecker< T >

Definition at line 58 of file interpreter.h.

Constructor & Destructor Documentation

◆ GenericTransactionSignatureChecker() [1/2]

template<class T >
GenericTransactionSignatureChecker< T >::GenericTransactionSignatureChecker ( const T *  txToIn,
unsigned int  nInIn,
const Amount amountIn 
)
inline

Definition at line 66 of file interpreter.h.

◆ GenericTransactionSignatureChecker() [2/2]

template<class T >
GenericTransactionSignatureChecker< T >::GenericTransactionSignatureChecker ( const T *  txToIn,
unsigned int  nInIn,
const Amount amountIn,
const PrecomputedTransactionData txdataIn 
)
inline

Definition at line 69 of file interpreter.h.

Member Function Documentation

◆ CheckLockTime()

template<class T >
bool GenericTransactionSignatureChecker< T >::CheckLockTime ( const CScriptNum nLockTime) const
finaloverridevirtual

Reimplemented from BaseSignatureChecker.

Definition at line 1627 of file interpreter.cpp.

◆ CheckSequence()

template<class T >
bool GenericTransactionSignatureChecker< T >::CheckSequence ( const CScriptNum nSequence) const
finaloverridevirtual

Reimplemented from BaseSignatureChecker.

Definition at line 1666 of file interpreter.cpp.

◆ CheckSig()

template<class T >
bool GenericTransactionSignatureChecker< T >::CheckSig ( const std::vector< uint8_t > &  vchSigIn,
const std::vector< uint8_t > &  vchPubKey,
const CScript scriptCode,
uint32_t  flags 
) const
finaloverridevirtual

Reimplemented from BaseSignatureChecker.

Definition at line 1600 of file interpreter.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ amount

template<class T >
const Amount GenericTransactionSignatureChecker< T >::amount
private

Definition at line 62 of file interpreter.h.

◆ nIn

template<class T >
unsigned int GenericTransactionSignatureChecker< T >::nIn
private

Definition at line 61 of file interpreter.h.

◆ txdata

template<class T >
const PrecomputedTransactionData* GenericTransactionSignatureChecker< T >::txdata
private

Definition at line 63 of file interpreter.h.

◆ txTo

template<class T >
const T* GenericTransactionSignatureChecker< T >::txTo
private

Definition at line 60 of file interpreter.h.


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