Bitcoin ABC  0.22.13
P2P Digital Currency
Functions
script.cpp File Reference
#include <script/script.h>
#include <script/script_flags.h>
#include <util/strencodings.h>
#include <algorithm>
Include dependency graph for script.cpp:

Go to the source code of this file.

Functions

const char * GetOpName (opcodetype opcode)
 
bool CheckMinimalPush (const std::vector< uint8_t > &data, opcodetype opcode)
 Check whether the given stack element data would be minimally pushed using the given opcode. More...
 
bool GetScriptOp (CScriptBase::const_iterator &pc, CScriptBase::const_iterator end, opcodetype &opcodeRet, std::vector< uint8_t > *pvchRet)
 

Function Documentation

◆ CheckMinimalPush()

bool CheckMinimalPush ( const std::vector< uint8_t > &  data,
opcodetype  opcode 
)

Check whether the given stack element data would be minimally pushed using the given opcode.

Definition at line 267 of file script.cpp.

Here is the caller graph for this function:

◆ GetOpName()

const char* GetOpName ( opcodetype  opcode)

Definition at line 13 of file script.cpp.

Here is the caller graph for this function:

◆ GetScriptOp()

bool GetScriptOp ( CScriptBase::const_iterator pc,
CScriptBase::const_iterator  end,
opcodetype opcodeRet,
std::vector< uint8_t > *  pvchRet 
)

Definition at line 446 of file script.cpp.

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