Bitcoin Core  0.15.99
P2P Digital Currency
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 <validation.h>

Collaboration diagram for CScriptCheck:
[legend]

Public Member Functions

 CScriptCheck ()
 
 CScriptCheck (const CScript &scriptPubKeyIn, const CAmount amountIn, const CTransaction &txToIn, unsigned int nInIn, unsigned int nFlagsIn, bool cacheIn, PrecomputedTransactionData *txdataIn)
 
bool operator() ()
 
void swap (CScriptCheck &check)
 
ScriptError GetScriptError () const
 

Private Attributes

CScript scriptPubKey
 
CAmount amount
 
const CTransactionptxTo
 
unsigned int nIn
 
unsigned int nFlags
 
bool cacheStore
 
ScriptError error
 
PrecomputedTransactionDatatxdata
 

Detailed Description

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

Definition at line 357 of file validation.h.

Constructor & Destructor Documentation

CScriptCheck::CScriptCheck ( )
inline

Definition at line 370 of file validation.h.

CScriptCheck::CScriptCheck ( const CScript scriptPubKeyIn,
const CAmount  amountIn,
const CTransaction txToIn,
unsigned int  nInIn,
unsigned int  nFlagsIn,
bool  cacheIn,
PrecomputedTransactionData txdataIn 
)
inline

Definition at line 371 of file validation.h.

Here is the call graph for this function:

Member Function Documentation

ScriptError CScriptCheck::GetScriptError ( ) const
inline

Definition at line 388 of file validation.h.

Here is the call graph for this function:

Here is the caller graph for this function:

bool CScriptCheck::operator() ( )

Definition at line 1203 of file validation.cpp.

Here is the call graph for this function:

void CScriptCheck::swap ( CScriptCheck check)
inline

Definition at line 377 of file validation.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

CAmount CScriptCheck::amount
private

Definition at line 361 of file validation.h.

bool CScriptCheck::cacheStore
private

Definition at line 365 of file validation.h.

ScriptError CScriptCheck::error
private

Definition at line 366 of file validation.h.

unsigned int CScriptCheck::nFlags
private

Definition at line 364 of file validation.h.

unsigned int CScriptCheck::nIn
private

Definition at line 363 of file validation.h.

const CTransaction* CScriptCheck::ptxTo
private

Definition at line 362 of file validation.h.

CScript CScriptCheck::scriptPubKey
private

Definition at line 360 of file validation.h.

PrecomputedTransactionData* CScriptCheck::txdata
private

Definition at line 367 of file validation.h.


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