MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / popstack

Function popstack

src/script/interpreter.cpp:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

EvalScriptFunction · 0.85
VerifyScriptFunction · 0.85

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected