Update zip-0244.rst

Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
Deirdre Connolly 2022-01-06 13:54:49 -05:00 committed by GitHub
parent bdfe15bb3f
commit a3a86b4a44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -527,9 +527,10 @@ violated:
- Using ``SIGHASH_SINGLE`` without a "corresponding output" (an output with the
same index as the input being verified).
If we are producing a hash for the signature over a Sapling Spend or an Orchard
Action, ``hash_type`` is set to ``SIGHASH_ALL``, and is not encoded anywhere in
the transaction's authorizing data.
If we are producing a hash for the signature over a transparent input, the value
of ``hash_type`` is obtained from the input's ``scriptSig`` as encoded in the
transaction. If we are producing a hash for the signature over a Sapling Spend
or an Orchard Action, ``hash_type`` is set to ``SIGHASH_ALL``.
S.2b: prevouts_sig_digest
'''''''''''''''''''''''''