scriptNum represents a numeric value used in the scripting engine with special handling to deal with the subtle semantics required by consensus. All numbers are stored on the data and alternate stacks encoded as little endian with a sign bit. All numeric opcodes such as OP_ADD, OP_SUB, and OP_MUL,
| 56 | // Since all numeric opcodes involve pulling data from the stack and |
| 57 | // interpreting it as an integer, it provides the required behavior. |
| 58 | type scriptNum int64 |
| 59 | |
| 60 | // checkMinimalDataEncoding returns whether or not the passed byte array adheres |
| 61 | // to the minimal encoding requirements. |
no outgoing calls
no test coverage detected