Skip to content

Commit 9f789a0

Browse files
committed
[Draft-Extensible-Tx]: Fold away rationale & potental future bundle types spec.
1 parent 6d904f9 commit 9f789a0

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

zips/draft-core-extensible-tx-format.rst

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,13 @@ defines:
169169
the bundle adds value to, removes value from, or has no effect on this
170170
ephemeral pool that balances value flows within a transaction.
171171

172-
Effecting Data and Authorizing Data
173-
```````````````````````````````````
172+
Rationale for Effecting Data and Authorizing Data
173+
`````````````````````````````````````````````````
174+
175+
.. raw:: html
176+
177+
<details>
178+
<summary>Click to show/hide</summary>
174179

175180
The separation of effecting data from authorizing data serves several purposes:
176181

@@ -189,6 +194,10 @@ The separation of effecting data from authorizing data serves several purposes:
189194
bundle type can still compute the transaction identifier by hashing the
190195
effecting data opaquely, without needing to parse its internal structure.
191196

197+
.. raw:: html
198+
199+
</details>
200+
192201
The Transparent Transaction Value Pool
193202
``````````````````````````````````````
194203

@@ -216,9 +225,8 @@ Bundle Type Registration
216225

217226
When a ZIP introduces a new bundle type, it MUST:
218227

219-
1. Request allocation of a bundle type identifier from the registry defined
220-
below. The identifier is a non-negative integer encoded as a ``compactSize``
221-
value.
228+
1. Request allocation of a bundle type identifier in the registry defined
229+
below. The identifier must be a non-negative integer.
222230

223231
2. Specify whether entries for this bundle type are permitted in
224232
``mValuePoolDeltas`` (the value pool delta map).
@@ -302,6 +310,14 @@ permitted.
302310
| |✅ |✅ |✅ | OrchardZSA |
303311
+------------+----------------------+--------------------+------------------+-------------------------------------------------------------+
304312

313+
Potential Future Bundle Types
314+
`````````````````````````````
315+
316+
.. raw:: html
317+
318+
<details>
319+
<summary>Click to show/hide</summary>
320+
305321
The following entries are provided to illustrate how potential future upgrades
306322
might affect the bundle registry:
307323

@@ -323,6 +339,10 @@ might affect the bundle registry:
323339
| |✅ |✅ |✅ | Post-quantum fast payment protocol |
324340
+------------+----------------------+--------------------+------------------+-------------------------------------------------------------+
325341

342+
.. raw:: html
343+
344+
</details>
345+
326346
Transaction Format
327347
------------------
328348

@@ -718,7 +738,7 @@ Full node implementations MUST verify that:
718738
asset equals 0.
719739

720740
.. math::
721-
741+
722742
\forall \mathsf{a}. \sum_{\mathsf{d} \in \mathsf{mValuePoolDeltas} | \mathsf{AssetUuid}_\mathsf{d} = \mathsf{a}} \mathsf{d.value} = 0
723743
724744
Digest Algorithms

0 commit comments

Comments
 (0)