Skip to content

Commit

Permalink
adding suggested changes from ZIP review
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-arte committed Nov 5, 2024
1 parent edc4c98 commit be14d0f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
10 changes: 9 additions & 1 deletion rendered/zip-0230.html
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,15 @@
<td><code>43</code></td>
<td><code>recipient</code></td>
<td><code>byte[43]</code></td>
<td>The raw encoding of an Orchard Raw Payment Address, as per protocol §5.6.4.2 ‘Orchard Raw Payment Addresses’.</td>
<td>The encoding of a recipient's diversified payment address, as
<span class="math">\(\mathsf{LEBS2OSP}_{88}(\mathsf{d})\|
\mathsf{LEBS2OSP}_{256}(\mathsf{repr}_{\mathbb{P}}
(\mathsf{pk}_\mathsf{d}))\!\)</span>
, where
<span class="math">\(\mathsf{d}\)</span>
is the diversifier and
<span class="math">\(\mathsf{pk_d}\)</span>
is the diversified transmission key. <strong>Non Normative Note</strong>: This is the same as the encoding of an Orchard Raw Payment Address, as defined in the protocol specification §5.6.4.2 ‘Orchard Raw Payment Addresses’.</td>
</tr>
<tr>
<td><code>8</code></td>
Expand Down
10 changes: 8 additions & 2 deletions zips/zip-0230.rst
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,14 @@ An issuance note, ``IssueNote`` contains the following fields:
+-----------------------------+--------------------------+--------------------------------------+--------------------------------------------------------------------+
| Bytes | Name | Data Type | Description |
+=============================+==========================+======================================+====================================================================+
|``43`` |``recipient`` |``byte[43]`` |The raw encoding of an Orchard Raw Payment Address, as |
| | | |per protocol §5.6.4.2 ‘Orchard Raw Payment Addresses’. |
|``43`` |``recipient`` |``byte[43]`` |The encoding of a recipient's diversified payment address, as |
| | | |:math:`\mathsf{LEBS2OSP}_{88}(\mathsf{d})\| |
| | | |\mathsf{LEBS2OSP}_{256}(\mathsf{repr}_{\mathbb{P}} |
| | | |(\mathsf{pk}_\mathsf{d}))\!`, where :math:`\mathsf{d}` is the |
| | | |diversifier and :math:`\mathsf{pk_d}` is the diversified |
| | | |transmission key. **Non Normative Note**: This is the same as the |
| | | |encoding of an Orchard Raw Payment Address, as defined in the |
| | | |protocol specification §5.6.4.2 ‘Orchard Raw Payment Addresses’. |
+-----------------------------+--------------------------+--------------------------------------+--------------------------------------------------------------------+
|``8`` |``value`` |``uint64`` |The amount being issued in this note. |
+-----------------------------+--------------------------+--------------------------------------+--------------------------------------------------------------------+
Expand Down

0 comments on commit be14d0f

Please sign in to comment.