| 54 | #define stacktop(i) (stack.at(stack.size()+(i))) |
| 55 | #define altstacktop(i) (altstack.at(altstack.size()+(i))) |
| 56 | static 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 | |
| 63 | bool static IsCompressedOrUncompressedPubKey(const valtype &vchPubKey) { |
| 64 | if (vchPubKey.size() < CPubKey::COMPRESSED_PUBLIC_KEY_SIZE) { |
no test coverage detected