What is Nostr?
kalle /
npub1g9y…y05t
2023-07-13 09:25:41
in reply to nevent1q…fprm

kalle on Nostr: The sighash flags are set in the signature itself. The user that signs an input sets ...

The 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
Author Public Key
npub1g9ym6t98cz9tvvsac865zak83txjjhd2yqcdegzwsqg2mxfww9xs8fy05t