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

Go to the source code of this file.

Functions

std::string 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 268 of file script.cpp.

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

◆ GetOpName()

std::string GetOpName ( opcodetype  opcode)

Definition at line 14 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 426 of file script.cpp.

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