Transaction introspection, specify whether the index parameter must be minimally encoded

We can choose to fail the script if the parameter is not minimally encoded (and minimal encoding is generally enforced in this script evaluation), or allow any number encoding. I think that if we don't require minimal encoding then if a scriptSig ever supplies this value we've introduced a way to malleated input scripts.

Edited by Andrew Stone
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information