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

Function popstack

src/script/interpreter.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

EvalScriptFunction · 0.85
VerifyScriptFunction · 0.85

Calls 2

emptyMethod · 0.45
pop_backMethod · 0.45

Tested by

no test coverage detected