1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-26 09:58:22 +00:00

CH08: clarify that diff sigs in the same input can have diff sighashes

This commit is contained in:
David A. Harding 2023-03-31 08:18:52 -10:00
parent afed975b8c
commit 260df04abe

View File

@ -132,10 +132,10 @@ three signed inputs may have three signatures with different +SIGHASH+
flags, each signature signing (committing) different parts of the flags, each signature signing (committing) different parts of the
transaction. transaction.
Remember, each input may contain a signature in its unlocking script. As Remember, each input may contain one or more signatures. As
a result, a transaction that contains several inputs may have signatures a result, an input may have signatures
with different +SIGHASH+ flags that commit different parts of the with different +SIGHASH+ flags that commit different parts of the
transaction in each of the inputs. Note also that bitcoin transactions transaction. Note also that bitcoin transactions
may contain inputs from different "owners," who may sign only one input may contain inputs from different "owners," who may sign only one input
in a partially constructed transaction, collaborating with in a partially constructed transaction, collaborating with
others to gather all the necessary signatures to make a valid others to gather all the necessary signatures to make a valid