Timeline for Why we need to repalce the ScriptSig with the previous ScriptPubKey when calculate the per input signature hash?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 22, 2022 at 16:20 | vote | accept | Shawn C | ||
Jul 22, 2022 at 15:56 | comment | added | Pieter Wuille | @AntoinePoinsot The point isn't commitment (which is indeed true regardless of whether this replacement happens), but making it cheap for signers make sure their information is correct (without it, signers would need to be given the full transactions creating the outputs to know the scriptPubKeys being spent). Of course, as we now know, the substitution in legacy sighashing isn't sufficient, and even the segwit one (which includes more information directly) isn't. | |
Jul 22, 2022 at 15:46 | comment | added | Antoine Poinsot | As long as the prevout is committed to, it's just a shortcut though: the Script is already indirectly committed to? | |
Jul 22, 2022 at 15:31 | history | answered | Ava Chow♦ | CC BY-SA 4.0 |