mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-04 11:08:05 +01:00
BIP341: SigHash: Clarify encoding of script pub keys
This commit is contained in:
parent
5b9b44cc79
commit
736e79c938
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ If the parameters take acceptable values, the message is the concatenation of th
|
|||
** If the ''hash_type & 0x80'' does not equal <code>SIGHASH_ANYONECANPAY</code>:
|
||||
*** ''sha_prevouts'' (32): the SHA256 of the serialization of all input outpoints.
|
||||
*** ''sha_amounts'' (32): the SHA256 of the serialization of all spent output amounts.
|
||||
*** ''sha_scriptpubkeys'' (32): the SHA256 of the serialization of all spent output ''scriptPubKey''s.
|
||||
*** ''sha_scriptpubkeys'' (32): the SHA256 of all spent outputs' ''scriptPubKeys'', serialized as script inside <code>CTxOut</code>.
|
||||
*** ''sha_sequences'' (32): the SHA256 of the serialization of all input ''nSequence''.
|
||||
** If ''hash_type & 3'' does not equal <code>SIGHASH_NONE</code> or <code>SIGHASH_SINGLE</code>:
|
||||
*** ''sha_outputs'' (32): the SHA256 of the serialization of all outputs in <code>CTxOut</code> format.
|
||||
|
|
Loading…
Add table
Reference in a new issue