mirror of https://github.com/zcash/zips.git
Update zip-0244.rst
Co-authored-by: str4d <thestr4d@gmail.com>
This commit is contained in:
parent
bdfe15bb3f
commit
a3a86b4a44
|
@ -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
|
||||
'''''''''''''''''''''''''
|
||||
|
|
Loading…
Reference in New Issue