Author: Mark Friedenbach 2017-10-01 02:23:47
Published on: 2017-10-01T02:23:47+00:00
Luke Dashjr proposed changes to the Bitcoin scripting process, which include introducing minor versions for witnesses, undefined opcodes causing the script to exit with success, and the ability for signatures to commit to additional conditions. The CLEANSTACK rule should be eliminated, and instead, the number of items on the stack should be incorporated into the signature hash. This way, any script with a CHECKSIG is protected from witness extension malleability, allowing for simpler tail-call evaluation as arguments on the alt-stack aren't needed. A new shorter fixed-length signature format has been introduced, eliminating the need to guess the signature size in advance, and all signatures are 65 bytes unless a condition script is included. Additionally, the ability for signatures to commit to additional conditions is expressed in the form of serialized scripts in the signature itself, useful in combination with OP_CHECKBLOCKATHEIGHT (BIP115). However, the last part is not yet deployable as the signature must commit to the script interpreter flags and internal "sigversion" to avoid exploit differences in the various script interpretation modes. Luke acknowledges that this part needs to be resolved before deployment.
Updated on: 2023-06-12T21:28:15.576637+00:00