mirror of https://github.com/zcash/zips.git
ZIP 221: fix rst formatting.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
31e8b03491
commit
c9f9d0b36b
|
@ -329,34 +329,24 @@ License: MIT</pre>
|
||||||
</dl>
|
</dl>
|
||||||
<p>Serialized as <code>CompactSize uint</code>.</p>
|
<p>Serialized as <code>CompactSize uint</code>.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>[NU5 onward] <code>hashEarliestOrchardRoot</code></li>
|
<li>[NU5 onward] <code>hashEarliestOrchardRoot</code>
|
||||||
</ol>
|
<dl>
|
||||||
<blockquote>
|
<dt>Leaf node</dt>
|
||||||
<dl>
|
<dd>Calculated as the note commitment root of the final Orchard treestate (similar to <code>hashEarliestSaplingRoot</code> in Sapling).</dd>
|
||||||
<dt>Leaf node</dt>
|
<dt>Internal or root node</dt>
|
||||||
<dd>Calculated as the note commitment root of the final Orchard treestate (similar to <code>hashEarliestSaplingRoot</code> in Sapling).</dd>
|
<dd>Inherited from the left child.</dd>
|
||||||
<dt>Internal or root node</dt>
|
</dl>
|
||||||
<dd>Inherited from the left child.</dd>
|
<p>Serialized as <code>char[32]</code>.</p>
|
||||||
</dl>
|
</li>
|
||||||
<p>Serialized as <code>char[32]</code>.</p>
|
<li>[NU5 onward] <code>hashLatestOrchardRoot</code>
|
||||||
</blockquote>
|
<dl>
|
||||||
<ol start="13" type="1">
|
<dt>Leaf node</dt>
|
||||||
<li>[NU5 onward] <code>hashLatestOrchardRoot</code></li>
|
<dd>Calculated as the note commitment root of the final Orchard treestate (similar to <code>hashLatestSaplingRoot</code> in Sapling).</dd>
|
||||||
</ol>
|
<dt>Internal or root node</dt>
|
||||||
<div>
|
<dd>Inherited from the right child.</dd>
|
||||||
<h1>System Message: INFO/1 (zip-0221.rst line 169)</h1>
|
</dl>
|
||||||
<p>Enumerated list start value not ordinal-1: "13" (ordinal 13)</p>
|
<p>Serialized as <code>char[32]</code>.</p>
|
||||||
</div>
|
</li>
|
||||||
<blockquote>
|
|
||||||
<dl>
|
|
||||||
<dt>Leaf node</dt>
|
|
||||||
<dd>Calculated as the note commitment root of the final Orchard treestate (similar to <code>hashLatestSaplingRoot</code> in Sapling).</dd>
|
|
||||||
<dt>Internal or root node</dt>
|
|
||||||
<dd>Inherited from the right child.</dd>
|
|
||||||
</dl>
|
|
||||||
<p>Serialized as <code>char[32]</code>.</p>
|
|
||||||
</blockquote>
|
|
||||||
<ol start="14" type="1">
|
|
||||||
<li>[NU5 onward] <code>nOrchardTxCount</code>
|
<li>[NU5 onward] <code>nOrchardTxCount</code>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Leaf node</dt>
|
<dt>Leaf node</dt>
|
||||||
|
@ -367,10 +357,6 @@ License: MIT</pre>
|
||||||
<p>Serialized as <code>CompactSize uint</code>.</p>
|
<p>Serialized as <code>CompactSize uint</code>.</p>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
<div>
|
|
||||||
<h1>System Message: INFO/1 (zip-0221.rst line 169)</h1>
|
|
||||||
<p>Enumerated list start value not ordinal-1: "14" (ordinal 14)</p>
|
|
||||||
</div>
|
|
||||||
<p>The fields marked "[NU5 onward]" are omitted before NU5 activation <a id="id9" class="footnote_reference" href="#zip-0252">11</a>.</p>
|
<p>The fields marked "[NU5 onward]" are omitted before NU5 activation <a id="id9" class="footnote_reference" href="#zip-0252">11</a>.</p>
|
||||||
<p>Each node, when serialized, is between 147 and 171 bytes long (between 212 and 244 bytes after NU5 activation). The canonical serialized representation of a node is used whenever creating child commitments for future nodes. Other than the metadata commitments, the MMR tree's construction is standard.</p>
|
<p>Each node, when serialized, is between 147 and 171 bytes long (between 212 and 244 bytes after NU5 activation). The canonical serialized representation of a node is used whenever creating child commitments for future nodes. Other than the metadata commitments, the MMR tree's construction is standard.</p>
|
||||||
<p>Once the MMR has been generated, we produce <code>hashChainHistoryRoot</code>, which we define as the BLAKE2b-256 digest of the serialization of the root node.</p>
|
<p>Once the MMR has been generated, we produce <code>hashChainHistoryRoot</code>, which we define as the BLAKE2b-256 digest of the serialization of the root node.</p>
|
||||||
|
|
24
zip-0221.rst
24
zip-0221.rst
|
@ -330,25 +330,25 @@ Each MMR node is defined as follows:
|
||||||
|
|
||||||
12. [NU5 onward] ``hashEarliestOrchardRoot``
|
12. [NU5 onward] ``hashEarliestOrchardRoot``
|
||||||
|
|
||||||
Leaf node
|
Leaf node
|
||||||
Calculated as the note commitment root of the final Orchard treestate
|
Calculated as the note commitment root of the final Orchard treestate
|
||||||
(similar to ``hashEarliestSaplingRoot`` in Sapling).
|
(similar to ``hashEarliestSaplingRoot`` in Sapling).
|
||||||
|
|
||||||
Internal or root node
|
Internal or root node
|
||||||
Inherited from the left child.
|
Inherited from the left child.
|
||||||
|
|
||||||
Serialized as ``char[32]``.
|
Serialized as ``char[32]``.
|
||||||
|
|
||||||
13. [NU5 onward] ``hashLatestOrchardRoot``
|
13. [NU5 onward] ``hashLatestOrchardRoot``
|
||||||
|
|
||||||
Leaf node
|
Leaf node
|
||||||
Calculated as the note commitment root of the final Orchard treestate
|
Calculated as the note commitment root of the final Orchard treestate
|
||||||
(similar to ``hashLatestSaplingRoot`` in Sapling).
|
(similar to ``hashLatestSaplingRoot`` in Sapling).
|
||||||
|
|
||||||
Internal or root node
|
Internal or root node
|
||||||
Inherited from the right child.
|
Inherited from the right child.
|
||||||
|
|
||||||
Serialized as ``char[32]``.
|
Serialized as ``char[32]``.
|
||||||
|
|
||||||
14. [NU5 onward] ``nOrchardTxCount``
|
14. [NU5 onward] ``nOrchardTxCount``
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue