Returns whether the script only pushes data onto the stack.
Synopsis
Declared in <script/script.h>
bool
IsPushOnly(const_iterator pc) const;
Return Value
true if every opcode from pc onward is a push. Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it consensus‐critical).
Parameters
Name |
Description |
pc |
Iterator to the position to start scanning from. |
Created with MrDocs