by nullc · 12y ago · 0 comments
Why is there any choice in how the signature is encoded? Why is there some sort of "script" (I'm not sure I understand this part) that's important enough to be hashed, but not important enough to be signed? This looks like a very deliberate design decision.
If the developers want to avoid transaction malleability, they will not be able to include the signature in the hash.
Would that be a problem? Since a transaction is already uniquely identified by the inputs, why not hash everything that's signed and use that as the identifier in (tx, index) pair?
Bitcoin has good/interesting reasons for using scripts inside transactions, but AIUI these are separate from the signature script.