Checks whether pushed data uses the minimal encoding for its opcode.
Declared in <script/script.h>
bool
CheckMinimalPush(
std::vector<unsigned char> const& data,
opcodetype opcode);
true if data is pushed with the minimal opcode and encoding.
| Name | Description |
|---|---|
| data | The pushed data bytes. |
| opcode | The push opcode used to push data. |