Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
CScriptCheck Class Reference

Closure representing one script verification Note that this stores references to the spending transaction. More...

#include <main.h>

+ Collaboration diagram for CScriptCheck:

Public Member Functions

 CScriptCheck ()
 
 CScriptCheck (const CCoins &txFromIn, const CTransaction &txToIn, unsigned int nInIn, unsigned int nFlagsIn, int nHashTypeIn)
 
bool operator() () const
 
void swap (CScriptCheck &check)
 

Private Attributes

CScript scriptPubKey
 
const CTransactionptxTo
 
unsigned int nIn
 
unsigned int nFlags
 
int nHashType
 

Detailed Description

Closure representing one script verification Note that this stores references to the spending transaction.

Definition at line 399 of file main.h.

Constructor & Destructor Documentation

CScriptCheck::CScriptCheck ( )
inline

Definition at line 409 of file main.h.

CScriptCheck::CScriptCheck ( const CCoins txFromIn,
const CTransaction txToIn,
unsigned int  nInIn,
unsigned int  nFlagsIn,
int  nHashTypeIn 
)
inline

Definition at line 410 of file main.h.

Member Function Documentation

bool CScriptCheck::operator() ( ) const

Definition at line 1537 of file main.cpp.

References error(), and VerifyScript().

+ Here is the call graph for this function:

void CScriptCheck::swap ( CScriptCheck check)
inline

Definition at line 416 of file main.h.

References nFlags, nHashType, nIn, ptxTo, and scriptPubKey.

Referenced by CheckInputs().

+ Here is the caller graph for this function:

Member Data Documentation

unsigned int CScriptCheck::nFlags
private

Definition at line 405 of file main.h.

Referenced by swap().

int CScriptCheck::nHashType
private

Definition at line 406 of file main.h.

Referenced by swap().

unsigned int CScriptCheck::nIn
private

Definition at line 404 of file main.h.

Referenced by swap().

const CTransaction* CScriptCheck::ptxTo
private

Definition at line 403 of file main.h.

Referenced by swap().

CScript CScriptCheck::scriptPubKey
private

Definition at line 402 of file main.h.

Referenced by swap().


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