script tests - invalid script in script_valid.json?



Summary:

The person is asking if a given script is valid or not. The script contains three values, "1 0 1" and "WITHIN NOT". The first value (1) is tested to make sure it is between the lower (0) and upper (1) value. This evaluates to true, placing on the stack a single byte of [01]. NOT then inverses this to a 0 byte false value of []. However, the context does not provide enough information to determine whether or not the script is valid.


Updated on: 2023-06-06T06:44:56.969917+00:00