Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
IguanaInterpreter Class Reference

#include <iguana_interpreter.h>

Collaboration diagram for IguanaInterpreter:
[legend]

Public Member Functions

 IguanaInterpreter (CMutableTransaction txIn, uint32_t inputIndexIn, CTxOut spentOutput, uint32_t flagsIn)
 
IguanaResult Run () const
 Run the interpreter, stepping through the scripts and return the trace.
 

Private Member Functions

IguanaTrace RunScript (ScriptInterpreter &interpreter, bool isPushOnly) const
 

Private Attributes

CMutableTransaction tx
 
uint32_t inputIndex
 
CScript scriptPubKey
 
PrecomputedTransactionData txdata
 
MutableTransactionSignatureChecker sigChecker
 
uint32_t flags
 

Detailed Description

Definition at line 42 of file iguana_interpreter.h.

Constructor & Destructor Documentation

◆ IguanaInterpreter()

IguanaInterpreter::IguanaInterpreter ( CMutableTransaction  txIn,
uint32_t  inputIndexIn,
CTxOut  spentOutput,
uint32_t  flagsIn 
)
inline

Definition at line 56 of file iguana_interpreter.h.

Member Function Documentation

◆ Run()

IguanaResult IguanaInterpreter::Run ( ) const

Run the interpreter, stepping through the scripts and return the trace.

Modelled to match VerifyScript exactly.

Definition at line 12 of file iguana_interpreter.cpp.

Here is the call graph for this function:

◆ RunScript()

IguanaTrace IguanaInterpreter::RunScript ( ScriptInterpreter interpreter,
bool  isPushOnly 
) const
private

Definition at line 98 of file iguana_interpreter.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ flags

uint32_t IguanaInterpreter::flags
private

Definition at line 53 of file iguana_interpreter.h.

◆ inputIndex

uint32_t IguanaInterpreter::inputIndex
private

Definition at line 45 of file iguana_interpreter.h.

◆ scriptPubKey

CScript IguanaInterpreter::scriptPubKey
private

Definition at line 47 of file iguana_interpreter.h.

◆ sigChecker

MutableTransactionSignatureChecker IguanaInterpreter::sigChecker
private

Definition at line 51 of file iguana_interpreter.h.

◆ tx

CMutableTransaction IguanaInterpreter::tx
private

Definition at line 44 of file iguana_interpreter.h.

◆ txdata

PrecomputedTransactionData IguanaInterpreter::txdata
private

Definition at line 49 of file iguana_interpreter.h.


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