| 231 | } |
| 232 | |
| 233 | bool static CheckPubKeyEncoding(const valtype &vchSig, unsigned int flags, ScriptError* serror) { |
| 234 | if ((flags & SCRIPT_VERIFY_STRICTENC) != 0 && !IsCompressedOrUncompressedPubKey(vchSig)) { |
| 235 | return set_error(serror, SCRIPT_ERR_PUBKEYTYPE); |
| 236 | } |
| 237 | return true; |
| 238 | } |
| 239 | |
| 240 | bool static CheckMinimalPush(const valtype& data, opcodetype opcode) { |
| 241 | if (data.size() == 0) { |
no test coverage detected