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