MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetOp

Method GetOp

src/script/script.h:535–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533
534
535 bool GetOp(iterator& pc, opcodetype& opcodeRet, std::vector<unsigned char>& vchRet)
536 {
537 // Wrapper so it can be called with either iterator or const_iterator
538 const_iterator pc2 = pc;
539 bool fRet = GetOp2(pc2, opcodeRet, &vchRet);
540 pc = begin() + (pc2 - begin());
541 return fRet;
542 }
543
544 bool GetOp(iterator& pc, opcodetype& opcodeRet)
545 {

Callers 7

ExtractPubKeyFunction · 0.80
IsRelevantAndUpdateMethod · 0.80
GetSigOpCountMethod · 0.80
EvalScriptFunction · 0.80
SerializeScriptCodeMethod · 0.80
CountWitnessSigOpsFunction · 0.80
SolverFunction · 0.80

Calls 1

beginFunction · 0.85

Tested by

no test coverage detected