BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
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 356 of file validation.h.

Constructor & Destructor Documentation

◆ CScriptCheck() [1/2]

CScriptCheck::CScriptCheck ( )
inline

Definition at line 368 of file validation.h.

◆ CScriptCheck() [2/2]

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

Definition at line 369 of file validation.h.

Member Function Documentation

◆ GetScriptError()

ScriptError CScriptCheck::GetScriptError ( ) const
inline

Definition at line 384 of file validation.h.

Here is the call graph for this function:

◆ operator()()

bool CScriptCheck::operator() ( )

Definition at line 1332 of file validation.cpp.

Here is the call graph for this function:

◆ swap()

void CScriptCheck::swap ( CScriptCheck check)
inline

Definition at line 374 of file validation.h.

Here is the call graph for this function:

Member Data Documentation

◆ cacheStore

bool CScriptCheck::cacheStore
private

Definition at line 363 of file validation.h.

◆ error

ScriptError CScriptCheck::error
private

Definition at line 364 of file validation.h.

◆ m_tx_out

CTxOut CScriptCheck::m_tx_out
private

Definition at line 359 of file validation.h.

◆ nFlags

unsigned int CScriptCheck::nFlags
private

Definition at line 362 of file validation.h.

◆ nIn

unsigned int CScriptCheck::nIn
private

Definition at line 361 of file validation.h.

◆ ptxTo

const CTransaction* CScriptCheck::ptxTo
private

Definition at line 360 of file validation.h.

◆ txdata

PrecomputedTransactionData* CScriptCheck::txdata
private

Definition at line 365 of file validation.h.


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