-
@ kalle
2023-07-13 09:25:41The sighash flags are set in the signature itself. The user that signs an input sets eg SIGHASH_ALL when signing. This means that any changes among the outputs will render the signature invalid. More in my book Grokking Bitcoin: https://rosenbaum.se/book/grokking-bitcoin-9.html#fig0924