[#CScript-IsPushOnly-01] = xref:CScript.adoc[CScript]::IsPushOnly :relfileprefix: ../ :mrdocs: Returns whether the script only pushes data onto the stack. == Synopsis Declared in `<script/script.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool IsPushOnly(xref:prevector-01/const_iterator.adoc[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 [cols="1,4"] |=== | Name| Description | *pc* | Iterator to the position to start scanning from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#