Correct the description of the outputs_digest hash.

This commit is contained in:
Kris Nuttycombe 2021-04-23 08:20:20 -06:00
parent 1e955a803a
commit 827637cc17
1 changed files with 4 additions and 2 deletions

View File

@ -214,8 +214,10 @@ The personalization field of this hash is set to::
T.2c: outputs_digest
''''''''''''''''''''
A BLAKE2b-256 hash of the field encodings of all ``prevout`` field values of
transparent inputs belonging to the transaction.
A BLAKE2b-256 hash of the concatenated field encodings of all transparent
output values of the transaction. The field encoding of such an output consists
of the encoded output ``amount`` (8-byte little endian) followed by
the ``scriptPubKey`` byte array (serialized as Bitcoin script).
The personalization field of this hash is set to::