Bitcoin Core  27.99.0
P2P Digital Currency
Functions
script.cpp File Reference
#include <script/script.h>
#include <crypto/common.h>
#include <hash.h>
#include <uint256.h>
#include <util/hash_type.h>
#include <util/strencodings.h>
#include <string>
Include dependency graph for script.cpp:

Go to the source code of this file.

Functions

std::string GetOpName (opcodetype opcode)
 
bool GetScriptOp (CScriptBase::const_iterator &pc, CScriptBase::const_iterator end, opcodetype &opcodeRet, std::vector< unsigned char > *pvchRet)
 
bool IsOpSuccess (const opcodetype &opcode)
 Test for OP_SUCCESSx opcodes as defined by BIP342. More...
 
bool CheckMinimalPush (const std::vector< unsigned char > &data, opcodetype opcode)
 

Function Documentation

◆ CheckMinimalPush()

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

Definition at line 349 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 18 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< unsigned char > *  pvchRet 
)

Definition at line 289 of file script.cpp.

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

◆ IsOpSuccess()

bool IsOpSuccess ( const opcodetype opcode)

Test for OP_SUCCESSx opcodes as defined by BIP342.

Definition at line 341 of file script.cpp.

Here is the caller graph for this function: