countNonPushOnlyOPs
reddcoinjs-lib v7.0.1-rdd.1 • Docs
reddcoinjs-lib v7.0.1-rdd.1 / script / countNonPushOnlyOPs
Function: countNonPushOnlyOPs()
countNonPushOnlyOPs(
value):number
Counts the number of non-push-only opcodes in a stack.
Parameters
• value: Stack
The stack to analyze.
Returns
number
The count of non-push-only opcodes.