Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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

#include <validation.h>

+ Collaboration diagram for CScriptCheck:

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 371 of file validation.h.

Constructor & Destructor Documentation

◆ CScriptCheck() [1/2]

CScriptCheck::CScriptCheck ( )
inline

Definition at line 383 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 384 of file validation.h.

Member Function Documentation

◆ GetScriptError()

ScriptError CScriptCheck::GetScriptError ( ) const
inline

Definition at line 399 of file validation.h.

References error.

◆ operator()()

bool CScriptCheck::operator() ( )

◆ swap()

void CScriptCheck::swap ( CScriptCheck check)
inline

Definition at line 389 of file validation.h.

References cacheStore, error, m_tx_out, nFlags, nIn, ptxTo, and txdata.

Member Data Documentation

◆ cacheStore

bool CScriptCheck::cacheStore
private

Definition at line 378 of file validation.h.

Referenced by operator()(), and swap().

◆ error

ScriptError CScriptCheck::error
private

Definition at line 379 of file validation.h.

Referenced by GetScriptError(), operator()(), and swap().

◆ m_tx_out

CTxOut CScriptCheck::m_tx_out
private

Definition at line 374 of file validation.h.

Referenced by operator()(), and swap().

◆ nFlags

unsigned int CScriptCheck::nFlags
private

Definition at line 377 of file validation.h.

Referenced by operator()(), and swap().

◆ nIn

unsigned int CScriptCheck::nIn
private

Definition at line 376 of file validation.h.

Referenced by operator()(), and swap().

◆ ptxTo

const CTransaction* CScriptCheck::ptxTo
private

Definition at line 375 of file validation.h.

Referenced by operator()(), and swap().

◆ txdata

PrecomputedTransactionData* CScriptCheck::txdata
private

Definition at line 380 of file validation.h.

Referenced by operator()(), and swap().


The documentation for this class was generated from the following files:
Released under the MIT license