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 CTxOut &outIn, const CTransaction &txToIn, unsigned int nInIn, unsigned int nFlagsIn, bool cacheIn, PrecomputedTransactionData *txdataIn)
 
bool operator() ()
 
void swap (CScriptCheck &check)
 
ScriptError GetScriptError () const
 

Private Attributes

CTxOut m_tx_out
 
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 361 of file validation.h.

Constructor & Destructor Documentation

CScriptCheck::CScriptCheck ( )
inline

Definition at line 373 of file validation.h.

CScriptCheck::CScriptCheck ( const CTxOut outIn,
const CTransaction txToIn,
unsigned int  nInIn,
unsigned int  nFlagsIn,
bool  cacheIn,
PrecomputedTransactionData txdataIn 
)
inline

Definition at line 374 of file validation.h.

Here is the call graph for this function:

Member Function Documentation

ScriptError CScriptCheck::GetScriptError ( ) const
inline

Definition at line 389 of file validation.h.

Here is the call graph for this function:

bool CScriptCheck::operator() ( )

Definition at line 1231 of file validation.cpp.

Here is the call graph for this function:

void CScriptCheck::swap ( CScriptCheck check)
inline

Definition at line 379 of file validation.h.

Member Data Documentation

bool CScriptCheck::cacheStore
private

Definition at line 368 of file validation.h.

ScriptError CScriptCheck::error
private

Definition at line 369 of file validation.h.

CTxOut CScriptCheck::m_tx_out
private

Definition at line 364 of file validation.h.

unsigned int CScriptCheck::nFlags
private

Definition at line 367 of file validation.h.

unsigned int CScriptCheck::nIn
private

Definition at line 366 of file validation.h.

const CTransaction* CScriptCheck::ptxTo
private

Definition at line 365 of file validation.h.

PrecomputedTransactionData* CScriptCheck::txdata
private

Definition at line 370 of file validation.h.


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