CScript::HasValidOps

Returns whether the script contains only valid opcodes.

Synopsis

Declared in <script/script.h>

bool
HasValidOps() const;

Return Value

true if all opcodes are valid. Check if the script contains valid OP_CODES