Reads the next opcode and its pushed data.
Synopsis
Declared in <script/script.h>
bool
GetOp(
const_iterator& pc,
opcodetype& opcodeRet,
std::vector<unsigned char>& vchRet) const;
Return Value
true if an opcode was read successfully.
Parameters
Name |
Description |
pc |
In/out iterator advanced past the opcode. |
opcodeRet |
Set to the opcode that was read. |
vchRet |
Set to the data pushed by the opcode. |
Created with MrDocs