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