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

Function popstack

src/script/interpreter.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60#define stacktop(i) (stack.at(stack.size()+(i)))
61#define altstacktop(i) (altstack.at(altstack.size()+(i)))
62static inline void popstack(vector<valtype>& stack)
63{
64 if (stack.empty())
65 throw runtime_error("popstack(): stack empty");
66 stack.pop_back();
67}
68
69bool static IsCompressedOrUncompressedPubKey(const valtype &vchPubKey) {
70 if (vchPubKey.size() < 33) {

Callers 2

EvalScriptFunction · 0.85
VerifyScriptFunction · 0.85

Calls 2

pop_backMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected