IsOpSuccess

Test for OP_SUCCESSx opcodes as defined by BIP342.

Synopsis

Declared in <script/script.h>

bool
IsOpSuccess(opcodetype const& opcode);

Return Value

true if opcode is an OP_SUCCESSx opcode.

Parameters

NameDescription
opcodeOpcode to test.