Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ZIP 227, ZIP 230, ZIP 246] Addition of burn fields into the Action Group #991

Open
wants to merge 7 commits into
base: v6-tx-format-and-sighash
Choose a base branch
from
Prev Previous commit
Next Next commit
Apply suggestions to ZIP 246 from ZIP review
Co-authored-by: Jack Grigg <[email protected]>
vivek-arte and str4d authored Mar 18, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 35ab88a00382f4e0ef1ec403016af15e971731ef
12 changes: 6 additions & 6 deletions zips/zip-0246.rst
Original file line number Diff line number Diff line change
@@ -246,10 +246,10 @@ For each Action Group, the following elements are included in the hash::

T.4a.i : orchard_actions_compact_digest (32-byte hash output)
T.4a.ii : orchard_actions_noncompact_digest (32-byte hash output)
T.4a.iii : orchard_burn_digest (32-byte hash output)
T.4a.iv : flagsOrchard (1 byte)
T.4a.v : anchorOrchard (32 bytes)
T.4a.vi : nAGExpiryHeight (4 bytes)
T.4a.iii : flagsOrchard (1 byte)
T.4a.iv : anchorOrchard (32 bytes)
T.4a.v : nAGExpiryHeight (4 bytes)
T.4a.vi : orchard_burn_digest (32-byte hash output)

The personalization field of this hash is set to::

@@ -293,8 +293,8 @@ The personalization field of this hash is set to::
The field encodings are specified in ZIP 230 [#zip-0230-orchard-action-field-encodings]_.


T.4a.iii: orchard_burn_digest
'''''''''''''''''''''''''''''
T.4a.vi: orchard_burn_digest
''''''''''''''''''''''''''''

A BLAKE2b-256 hash of the data from the burn fields of the transaction. For each tuple in
the $\mathsf{assetBurn}$ set, the following elements are included in the hash::