Bitcoin Core 28.99.0
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 (const CTxOut &outIn, const CTransaction &txToIn, SignatureCache &signature_cache, unsigned int nInIn, unsigned int nFlagsIn, bool cacheIn, PrecomputedTransactionData *txdataIn)
 
 CScriptCheck (const CScriptCheck &)=delete
 
CScriptCheckoperator= (const CScriptCheck &)=delete
 
 CScriptCheck (CScriptCheck &&)=default
 
CScriptCheckoperator= (CScriptCheck &&)=default
 
std::optional< std::pair< ScriptError, std::string > > operator() ()
 

Private Attributes

CTxOut m_tx_out
 
const CTransactionptxTo
 
unsigned int nIn
 
unsigned int nFlags
 
bool cacheStore
 
PrecomputedTransactionDatatxdata
 
SignatureCachem_signature_cache
 

Detailed Description

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

Definition at line 330 of file validation.h.

Constructor & Destructor Documentation

◆ CScriptCheck() [1/3]

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

Definition at line 342 of file validation.h.

◆ CScriptCheck() [2/3]

CScriptCheck::CScriptCheck ( const CScriptCheck )
delete

◆ CScriptCheck() [3/3]

CScriptCheck::CScriptCheck ( CScriptCheck &&  )
default

Member Function Documentation

◆ operator()()

std::optional< std::pair< ScriptError, std::string > > CScriptCheck::operator() ( )

Definition at line 2114 of file validation.cpp.

Here is the call graph for this function:

◆ operator=() [1/2]

CScriptCheck & CScriptCheck::operator= ( const CScriptCheck )
delete

◆ operator=() [2/2]

CScriptCheck & CScriptCheck::operator= ( CScriptCheck &&  )
default

Member Data Documentation

◆ cacheStore

bool CScriptCheck::cacheStore
private

Definition at line 337 of file validation.h.

◆ m_signature_cache

SignatureCache* CScriptCheck::m_signature_cache
private

Definition at line 339 of file validation.h.

◆ m_tx_out

CTxOut CScriptCheck::m_tx_out
private

Definition at line 333 of file validation.h.

◆ nFlags

unsigned int CScriptCheck::nFlags
private

Definition at line 336 of file validation.h.

◆ nIn

unsigned int CScriptCheck::nIn
private

Definition at line 335 of file validation.h.

◆ ptxTo

const CTransaction* CScriptCheck::ptxTo
private

Definition at line 334 of file validation.h.

◆ txdata

PrecomputedTransactionData* CScriptCheck::txdata
private

Definition at line 338 of file validation.h.


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