Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
script.cpp File Reference
#include <script/script.h>
#include <crypto/common.h>
#include <crypto/hex_base.h>
#include <hash.h>
#include <uint256.h>
#include <util/hash_type.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.
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 373 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 313 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 365 of file script.cpp.

Here is the caller graph for this function: