Re-render HTML.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira-Emma Hopwood 2024-08-27 10:56:50 +01:00
parent 0d5706ba70
commit d93d3f4c36
5 changed files with 220 additions and 94 deletions

View File

@ -84,6 +84,7 @@ Released ZIPs
<tr> <td>250</td> <td class="left"><a href="zips/zip-0250.rst">Deployment of the Heartwood Network Upgrade</a></td> <td>Final</td>
<tr> <td>251</td> <td class="left"><a href="zips/zip-0251.rst">Deployment of the Canopy Network Upgrade</a></td> <td>Final</td>
<tr> <td>252</td> <td class="left"><a href="zips/zip-0252.rst">Deployment of the NU5 Network Upgrade</a></td> <td>Final</td>
<tr> <td>253</td> <td class="left"><a href="zips/zip-0253.md">Deployment of the NU6 Network Upgrade</a></td> <td>Proposed</td>
<tr> <td>300</td> <td class="left"><a href="zips/zip-0300.rst">Cross-chain Atomic Transactions</a></td> <td>Proposed</td>
<tr> <td>301</td> <td class="left"><a href="zips/zip-0301.rst">Zcash Stratum Protocol</a></td> <td>Final</td>
<tr> <td>308</td> <td class="left"><a href="zips/zip-0308.rst">Sprout to Sapling Migration</a></td> <td>Final</td>
@ -128,7 +129,6 @@ written.
<tr> <td><span class="reserved">231</span></td> <td class="left"><a class="reserved" href="zips/zip-0231.rst">Decouple Memos from Transaction Outputs</a></td> <td>Reserved</td>
<tr> <td>236</td> <td class="left"><a href="zips/zip-0236.rst">Blocks should balance exactly</a></td> <td>Draft</td>
<tr> <td>245</td> <td class="left"><a href="zips/zip-0245.rst">Transaction Identifier Digests & Signature Validation for Transparent Zcash Extensions</a></td> <td>Draft</td>
<tr> <td>253</td> <td class="left"><a href="zips/zip-0253.md">Deployment of the NU6 Network Upgrade</a></td> <td>Draft</td>
<tr> <td>302</td> <td class="left"><a href="zips/zip-0302.rst">Standardized Memo Field Format</a></td> <td>Draft</td>
<tr> <td><span class="reserved">303</span></td> <td class="left"><a class="reserved" href="zips/zip-0303.rst">Sprout Payment Disclosure</a></td> <td>Reserved</td>
<tr> <td>304</td> <td class="left"><a href="zips/zip-0304.rst">Sapling Address Signatures</a></td> <td>Draft</td>
@ -256,7 +256,7 @@ Index of ZIPs
<tr> <td>250</td> <td class="left"><a href="zips/zip-0250.rst">Deployment of the Heartwood Network Upgrade</a></td> <td>Final</td>
<tr> <td>251</td> <td class="left"><a href="zips/zip-0251.rst">Deployment of the Canopy Network Upgrade</a></td> <td>Final</td>
<tr> <td>252</td> <td class="left"><a href="zips/zip-0252.rst">Deployment of the NU5 Network Upgrade</a></td> <td>Final</td>
<tr> <td>253</td> <td class="left"><a href="zips/zip-0253.md">Deployment of the NU6 Network Upgrade</a></td> <td>Draft</td>
<tr> <td>253</td> <td class="left"><a href="zips/zip-0253.md">Deployment of the NU6 Network Upgrade</a></td> <td>Proposed</td>
<tr> <td>300</td> <td class="left"><a href="zips/zip-0300.rst">Cross-chain Atomic Transactions</a></td> <td>Proposed</td>
<tr> <td>301</td> <td class="left"><a href="zips/zip-0301.rst">Zcash Stratum Protocol</a></td> <td>Final</td>
<tr> <td>302</td> <td class="left"><a href="zips/zip-0302.rst">Standardized Memo Field Format</a></td> <td>Draft</td>

View File

@ -14,7 +14,7 @@ Original-Authors: Skylar Saveland &lt;skylar@free2z.com&gt;
Credits: Daira-Emma Hopwood
Jack Grigg
@Peacemonger (Zcash Forum)
Status: Draft
Status: Withdrawn
Category: Consensus
Created: 2024-07-03
License: MIT

View File

@ -59,6 +59,7 @@
<tr> <td>250</td> <td class="left"><a href="zip-0250">Deployment of the Heartwood Network Upgrade</a></td> <td>Final</td>
<tr> <td>251</td> <td class="left"><a href="zip-0251">Deployment of the Canopy Network Upgrade</a></td> <td>Final</td>
<tr> <td>252</td> <td class="left"><a href="zip-0252">Deployment of the NU5 Network Upgrade</a></td> <td>Final</td>
<tr> <td>253</td> <td class="left"><a href="zip-0253">Deployment of the NU6 Network Upgrade</a></td> <td>Proposed</td>
<tr> <td>300</td> <td class="left"><a href="zip-0300">Cross-chain Atomic Transactions</a></td> <td>Proposed</td>
<tr> <td>301</td> <td class="left"><a href="zip-0301">Zcash Stratum Protocol</a></td> <td>Final</td>
<tr> <td>308</td> <td class="left"><a href="zip-0308">Sprout to Sapling Migration</a></td> <td>Final</td>
@ -93,7 +94,6 @@
<tr> <td><span class="reserved">231</span></td> <td class="left"><a class="reserved" href="zip-0231">Decouple Memos from Transaction Outputs</a></td> <td>Reserved</td>
<tr> <td>236</td> <td class="left"><a href="zip-0236">Blocks should balance exactly</a></td> <td>Draft</td>
<tr> <td>245</td> <td class="left"><a href="zip-0245">Transaction Identifier Digests & Signature Validation for Transparent Zcash Extensions</a></td> <td>Draft</td>
<tr> <td>253</td> <td class="left"><a href="zip-0253">Deployment of the NU6 Network Upgrade</a></td> <td>Draft</td>
<tr> <td>302</td> <td class="left"><a href="zip-0302">Standardized Memo Field Format</a></td> <td>Draft</td>
<tr> <td><span class="reserved">303</span></td> <td class="left"><a class="reserved" href="zip-0303">Sprout Payment Disclosure</a></td> <td>Reserved</td>
<tr> <td>304</td> <td class="left"><a href="zip-0304">Sapling Address Signatures</a></td> <td>Draft</td>
@ -202,7 +202,7 @@
<tr> <td>250</td> <td class="left"><a href="zip-0250">Deployment of the Heartwood Network Upgrade</a></td> <td>Final</td>
<tr> <td>251</td> <td class="left"><a href="zip-0251">Deployment of the Canopy Network Upgrade</a></td> <td>Final</td>
<tr> <td>252</td> <td class="left"><a href="zip-0252">Deployment of the NU5 Network Upgrade</a></td> <td>Final</td>
<tr> <td>253</td> <td class="left"><a href="zip-0253">Deployment of the NU6 Network Upgrade</a></td> <td>Draft</td>
<tr> <td>253</td> <td class="left"><a href="zip-0253">Deployment of the NU6 Network Upgrade</a></td> <td>Proposed</td>
<tr> <td>300</td> <td class="left"><a href="zip-0300">Cross-chain Atomic Transactions</a></td> <td>Proposed</td>
<tr> <td>301</td> <td class="left"><a href="zip-0301">Zcash Stratum Protocol</a></td> <td>Final</td>
<tr> <td>302</td> <td class="left"><a href="zip-0302">Standardized Memo Field Format</a></td> <td>Draft</td>

View File

@ -10,7 +10,7 @@
<pre><code>ZIP: 253
Title: Deployment of the NU6 Network Upgrade
Owners: Arya &lt;arya@zfnd.org&gt;
Status: Draft
Status: Proposed
Category: Consensus / Network
Created: 2024-07-17
License: MIT
@ -31,7 +31,6 @@ role="doc-noteref"><sup>3</sup></a>.</p>
<p>This proposal defines the deployment of the NU6 network upgrade.</p>
<h1 id="specification">Specification</h1>
<h2 id="nu6-deployment">NU6 deployment</h2>
<!-- TODO: Update these references once ZIP numbers are assigned to the draft ZIPs -->
<p>The primary sources of information about NU6 consensus protocol
changes are:</p>
<ul>
@ -43,7 +42,7 @@ role="doc-noteref"><sup>5</sup></a>.</li>
<li>ZIP 236: Blocks should balance exactly <a href="#fn6"
class="footnote-ref" id="fnref6"
role="doc-noteref"><sup>6</sup></a>.</li>
<li>ZIP ???: Block Reward Allocation for Non-Direct Development Funding
<li>ZIP 1015: Block Reward Allocation for Non-Direct Development Funding
<a href="#fn7" class="footnote-ref" id="fnref7"
role="doc-noteref"><sup>7</sup></a>.</li>
<li>ZIP 2001: Lockbox Funding Streams <a href="#fn8"
@ -104,52 +103,50 @@ formats as NU5 transactions. This does not imply that transactions are
valid across the NU6 activation, since signatures MUST use the
appropriate consensus branch ID.</p>
<h1 id="references">References</h1>
<section class="footnotes footnotes-end-of-document"
<aside id="footnotes" class="footnotes footnotes-end-of-document"
role="doc-endnotes">
<hr />
<ol>
<li id="fn1" role="doc-endnote"><p><a
<li id="fn1"><p><a
href="https://www.rfc-editor.org/info/bcp14">Information on BCP 14 —
“RFC 2119: Key words for use in RFCs to Indicate Requirement Levels” and
“RFC 8174: Ambiguity of Uppercase vs Lowercase in RFC 2119 Key
Words”</a><a href="#fnref1" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn2" role="doc-endnote"><p><a href="zip-0200">ZIP 200:
Network Upgrade Mechanism</a><a href="#fnref2" class="footnote-back"
<li id="fn2"><p><a href="zip-0200">ZIP 200: Network Upgrade
Mechanism</a><a href="#fnref2" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn3" role="doc-endnote"><p><a
href="protocol/protocol.pdf#networks">Zcash Protocol Specification,
Version v2023.4.0 or later. Section 3.12: Mainnet and Testnet</a><a
href="#fnref3" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn4" role="doc-endnote"><p><a href="protocol/protocol.pdf">Zcash
Protocol Specification, Version v2023.4.0 or later</a><a href="#fnref4"
<li id="fn3"><p><a href="protocol/protocol.pdf#networks">Zcash Protocol
Specification, Version v2023.4.0 or later. Section 3.12: Mainnet and
Testnet</a><a href="#fnref3" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn4"><p><a href="protocol/protocol.pdf">Zcash Protocol
Specification, Version v2023.4.0 or later</a><a href="#fnref4"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn5" role="doc-endnote"><p><a href="zip-0200">ZIP 200:
Network Upgrade Mechanism</a><a href="#fnref5" class="footnote-back"
<li id="fn5"><p><a href="zip-0200">ZIP 200: Network Upgrade
Mechanism</a><a href="#fnref5" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn6" role="doc-endnote"><p><a href="zip-0236">ZIP 236:
Blocks should balance exactly</a><a href="#fnref6" class="footnote-back"
<li id="fn6"><p><a href="zip-0236">ZIP 236: Blocks should balance
exactly</a><a href="#fnref6" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn7" role="doc-endnote"><p><a
href="draft-nuttycom-funding-allocation.rst">ZIP ???: Block Reward
Allocation for Non-Direct Development Funding</a><a href="#fnref7"
<li id="fn7"><p><a href="zip-1015">ZIP 1015: Block Reward Allocation
for Non-Direct Development Funding</a><a href="#fnref7"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn8" role="doc-endnote"><p><a href="zip-2001">ZIP 2001:
Lockbox Funding Streams</a><a href="#fnref8" class="footnote-back"
<li id="fn8"><p><a href="zip-2001">ZIP 2001: Lockbox Funding
Streams</a><a href="#fnref8" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn9" role="doc-endnote"><p><a href="zip-0201">ZIP 201:
Network Peer Management for Overwinter</a><a href="#fnref9"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn10" role="doc-endnote"><p><a href="zip-0207">ZIP 207:
Funding Streams</a><a href="#fnref10" class="footnote-back"
<li id="fn9"><p><a href="zip-0201">ZIP 201: Network Peer Management
for Overwinter</a><a href="#fnref9" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn11" role="doc-endnote"><p><a href="zip-0214">ZIP 214:
Consensus rules for a Zcash Development Fund</a><a href="#fnref11"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn12" role="doc-endnote"><p><a href="zip-0200">ZIP 200:
Network Upgrade Mechanism</a><a href="#fnref12" class="footnote-back"
<li id="fn10"><p><a href="zip-0207">ZIP 207: Funding Streams</a><a
href="#fnref10" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn11"><p><a href="zip-0214">ZIP 214: Consensus rules for a
Zcash Development Fund</a><a href="#fnref11" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn12"><p><a href="zip-0200">ZIP 200: Network Upgrade
Mechanism</a><a href="#fnref12" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
</aside>
</body>
</html>

View File

@ -19,107 +19,236 @@ Created: yyyy-mm-dd
License: {usually MIT}
Pull-Request: &lt;<a href="https://github.com/zcash/zips/pull/???">https://github.com/zcash/zips/pull/???</a>&gt;</code></pre>
<h1 id="dont-panic">Dont Panic</h1>
<p>If this is your first time writing a ZIP, the structure and format may look intimidating. But really, its just meant to reflect common-sense practice and some technical conventions. Feel free to start with a simple initial draft that gets ideas across, even if it doesnt quite follow this format. The community and ZIP editors will help you figure things out and get it into shape later.</p>
<p>If this is your first time writing a ZIP, the structure and format
may look intimidating. But really, its just meant to reflect
common-sense practice and some technical conventions. Feel free to start
with a simple initial draft that gets ideas across, even if it doesnt
quite follow this format. The community and ZIP editors will help you
figure things out and get it into shape later.</p>
<p>{Delete this section.}</p>
<h1 id="terminology">Terminology</h1>
<p>{Edit this to reflect the key words that are actually used.} The key words “MUST”, “REQUIRED”, “MUST NOT”, “SHOULD”, and “MAY” in this document are to be interpreted as described in BCP 14 <a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a> when, and only when, they appear in all capitals.</p>
<p>{Avoid duplicating definitions from other ZIPs. Instead use wording like this:}</p>
<p>The terms “Mainnet” and “Testnet” in this document are to be interpreted as defined in the Zcash protocol specification <a href="#fn2" class="footnote-ref" id="fnref2" role="doc-noteref"><sup>2</sup></a>.</p>
<p>The term “full validator” in this document is to be interpreted as defined in the Zcash protocol specification <a href="#fn3" class="footnote-ref" id="fnref3" role="doc-noteref"><sup>3</sup></a>.</p>
<p>{Edit this to reflect the key words that are actually used.} The key
words “MUST”, “REQUIRED”, “MUST NOT”, “SHOULD”, and “MAY” in this
document are to be interpreted as described in BCP 14 <a href="#fn1"
class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a>
when, and only when, they appear in all capitals.</p>
<p>{Avoid duplicating definitions from other ZIPs. Instead use wording
like this:}</p>
<p>The terms “Mainnet” and “Testnet” in this document are to be
interpreted as defined in the Zcash protocol specification <a
href="#fn2" class="footnote-ref" id="fnref2"
role="doc-noteref"><sup>2</sup></a>.</p>
<p>The term “full validator” in this document is to be interpreted as
defined in the Zcash protocol specification <a href="#fn3"
class="footnote-ref" id="fnref3"
role="doc-noteref"><sup>3</sup></a>.</p>
<p>The terms below are to be interpreted as follows:</p>
<dl>
<dt>{Term to be defined}</dt>
<dd><p>{Definition.}</p>
<dd>
<p>{Definition.}</p>
</dd>
<dt>{Another term}</dt>
<dd><p>{Definition.}</p>
<dd>
<p>{Definition.}</p>
</dd>
</dl>
<h1 id="abstract">Abstract</h1>
<p>{Describe what this proposal does, typically in a few paragraphs.</p>
<p>The Abstract should only provide a summary of the ZIP; the ZIP should remain complete without the Abstract.</p>
<p>Use links where applicable, e.g. <a href="#fn4" class="footnote-ref" id="fnref4" role="doc-noteref"><sup>4</sup></a> <a href="#fn5" class="footnote-ref" id="fnref5" role="doc-noteref"><sup>5</sup></a>.}</p>
<p>The Abstract should only provide a summary of the ZIP; the ZIP should
remain complete without the Abstract.</p>
<p>Use links where applicable, e.g. <a href="#fn4" class="footnote-ref"
id="fnref4" role="doc-noteref"><sup>4</sup></a> <a href="#fn5"
class="footnote-ref" id="fnref5"
role="doc-noteref"><sup>5</sup></a>.}</p>
<h1 id="motivation">Motivation</h1>
<p>{Why is this proposal needed?</p>
<p>This is one of the most important sections of the ZIP, and should be detailed and comprehensive. It shouldnt include any of the actual specification dont put conformance requirements in this section.</p>
<p>Explain the status quo, why the status quo is in need of improvement, and if applicable, the history of how this area has changed. Then describe <em>at a high level</em> why this proposed solution addresses the perceived issues. It is ok if this is somewhat redundant with the abstract, but here you can go into a lot more detail.}</p>
<p>This is one of the most important sections of the ZIP, and should be
detailed and comprehensive. It shouldnt include any of the actual
specification dont put conformance requirements in this section.</p>
<p>Explain the status quo, why the status quo is in need of improvement,
and if applicable, the history of how this area has changed. Then
describe <em>at a high level</em> why this proposed solution addresses
the perceived issues. It is ok if this is somewhat redundant with the
abstract, but here you can go into a lot more detail.}</p>
<h1 id="requirements">Requirements</h1>
<p>{Describe design constraints on, or goals for the solution typically one paragraph for each constraint or goal. Again, dont actually specify anything here; this section is primarily for use as a consistency check that what is specified meets the requirements.}</p>
<p>{Describe design constraints on, or goals for the solution
typically one paragraph for each constraint or goal. Again, dont
actually specify anything here; this section is primarily for use as a
consistency check that what is specified meets the requirements.}</p>
<h1 id="non-requirements">Non-requirements</h1>
<p>{This section is entirely optional. If it is present, it describes issues that the proposal is <em>not</em> attempting to address, that someone might otherwise think it does or should.}</p>
<p>{This section is entirely optional. If it is present, it describes
issues that the proposal is <em>not</em> attempting to address, that
someone might otherwise think it does or should.}</p>
<h1 id="specification">Specification</h1>
<p>{Replace this entire section.}</p>
<p>The Specification section describes what should change, using precise language and conformance key words. Anything that is <em>required in order to implement the ZIP</em> (or follow its process, in the case of a Process ZIP) should be in this section.</p>
<p>Avoid overspecification! Also avoid underspecification. Specification is hard. Dont be afraid to ask for help.</p>
<p>Feel free to copy from other ZIPs doing similar things, e.g. defining RPC calls, consensus rules, etc.</p>
<p>ZIPs MUST take into account differences between the Zcash Mainnet and Testnet <a href="#fn6" class="footnote-ref" id="fnref6" role="doc-noteref"><sup>6</sup></a> where applicable. A consensus ZIP MUST be able to be deployed on both Mainnet and Testnet.</p>
<p>Unless the specification is particularly simple, you will need to organise it under subheadings.</p>
<p>The Specification section describes what should change, using precise
language and conformance key words. Anything that is <em>required in
order to implement the ZIP</em> (or follow its process, in the case of a
Process ZIP) should be in this section.</p>
<p>Avoid overspecification! Also avoid underspecification. Specification
is hard. Dont be afraid to ask for help.</p>
<p>Feel free to copy from other ZIPs doing similar things, e.g. defining
RPC calls, consensus rules, etc.</p>
<p>ZIPs MUST take into account differences between the Zcash Mainnet and
Testnet <a href="#fn6" class="footnote-ref" id="fnref6"
role="doc-noteref"><sup>6</sup></a> where applicable. A consensus ZIP
MUST be able to be deployed on both Mainnet and Testnet.</p>
<p>Unless the specification is particularly simple, you will need to
organise it under subheadings.</p>
<h2 id="example-subheading">Example subheading</h2>
<p>At least while the ZIP is in Draft, we encourage writing open questions and TODOs.</p>
<p>At least while the ZIP is in Draft, we encourage writing open
questions and TODOs.</p>
<h3 id="open-questions">Open questions</h3>
<ul>
<li>What happens if a full validator cant parse the fandangle as a doohicky?</li>
<li>What happens if a full validator cant parse the fandangle as a
doohicky?</li>
</ul>
<p>TODO: define byte encoding for the Jabberwock.</p>
<h2 id="comparison-of-zips-to-rfcs">Comparison of ZIPs to RFCs</h2>
<p>Like RFCs, ZIPs are precise technical documents that SHOULD give enough implementation information to implement part of a Zcash-related protocol or follow a Zcash-related process <a href="#fn7" class="footnote-ref" id="fnref7" role="doc-noteref"><sup>7</sup></a>.</p>
<p>Like RFCs, ZIPs are precise technical documents that SHOULD give
enough implementation information to implement part of a Zcash-related
protocol or follow a Zcash-related process <a href="#fn7"
class="footnote-ref" id="fnref7"
role="doc-noteref"><sup>7</sup></a>.</p>
<p>ZIPs are different from RFCs in the following ways:</p>
<ul>
<li>Many (but not all) ZIPs are “living documents”; they are updated in-place as the relevant areas of the protocol or process change. Unlike in the RFC process, making a change in an area described by a published ZIP does not <em>necessarily</em> require creating a new ZIP, although that is an option if the change is extensive enough to warrant it.</li>
<li>The expected structure of a ZIP is more constrained than an RFC. For example, the Specification section is REQUIRED, and all of the conformance requirements MUST go in that section. The ZIP editors will help you to ensure that things go in the right sections.</li>
<li>Security considerations SHOULD be spread throughout the text, in the places where they are most relevant.</li>
<li>Many (but not all) ZIPs are “living documents”; they are updated
in-place as the relevant areas of the protocol or process change. Unlike
in the RFC process, making a change in an area described by a published
ZIP does not <em>necessarily</em> require creating a new ZIP, although
that is an option if the change is extensive enough to warrant it.</li>
<li>The expected structure of a ZIP is more constrained than an RFC. For
example, the Specification section is REQUIRED, and all of the
conformance requirements MUST go in that section. The ZIP editors will
help you to ensure that things go in the right sections.</li>
<li>Security considerations SHOULD be spread throughout the text, in the
places where they are most relevant.</li>
</ul>
<h2 id="using-mathematical-notation">Using mathematical notation</h2>
<p>Embedded LaTeX <span class="math inline"><em>x</em>+<em>y</em></span> is allowed and encouraged in ZIPs. The syntax for inline math is “<code>:math:</code>latex code`<code>" in reStructuredText or "</code><span class="math inline"><em>l</em><em>a</em><em>t</em><em>e</em><em>x</em><em>c</em><em>o</em><em>d</em><em>e</em></span>`” in Markdown. The rendered HTML will use KaTeX <a href="#fn8" class="footnote-ref" id="fnref8" role="doc-noteref"><sup>8</sup></a>, which only supports a subset of LaTeX, so you will need to double-check that the rendering is as intended.</p>
<p>In general the conventions in the Zcash protocol specification SHOULD be followed. If you find this difficult, dont worry too much about it in initial drafts; the ZIP editors will catch any inconsistencies in review.</p>
<p>Embedded LaTeX <span
class="math inline"><em>x</em>+<em>y</em></span> is allowed and
encouraged in ZIPs. The syntax for inline math is
<code>:math:</code>latex
code`<code>" in reStructuredText or "</code><span
class="math inline"><em>l</em><em>a</em><em>t</em><em>e</em><em>x</em><em>c</em><em>o</em><em>d</em><em>e</em></span>`”
in Markdown. The rendered HTML will use KaTeX <a href="#fn8"
class="footnote-ref" id="fnref8" role="doc-noteref"><sup>8</sup></a>,
which only supports a subset of LaTeX, so you will need to double-check
that the rendering is as intended.</p>
<p>In general the conventions in the Zcash protocol specification SHOULD
be followed. If you find this difficult, dont worry too much about it
in initial drafts; the ZIP editors will catch any inconsistencies in
review.</p>
<h2 id="notes-and-warnings">Notes and warnings</h2>
<div class="info">
<p><code>.. note::</code>” in reStructuredText, or “<code>:::info</code>” (terminated by “<code>:::</code>”) in Markdown, can be used for an aside from the main text.</p>
<p>The rendering of notes is colourful and may be distracting, so they should only be used for important points.</p>
<p><code>.. note::</code>” in reStructuredText, or
<code>:::info</code>” (terminated by “<code>:::</code>”) in Markdown,
can be used for an aside from the main text.</p>
<p>The rendering of notes is colourful and may be distracting, so they
should only be used for important points.</p>
</div>
<div class="warning">
<p><code>.. warning::</code>” in reStructuredText, or “<code>:::warning</code>” (terminated by “<code>:::</code>”) in Markdown, can be used for warnings.</p>
<p>Warnings should be used very sparingly — for example to signal that a entire specification, or part of it, may be inapplicable or could cause significant interoperability or security problems. In most cases, a “MUST” or “SHOULD” conformance requirement is more appropriate.</p>
<p><code>.. warning::</code>” in reStructuredText, or
<code>:::warning</code>” (terminated by “<code>:::</code>”) in
Markdown, can be used for warnings.</p>
<p>Warnings should be used very sparingly — for example to signal that a
entire specification, or part of it, may be inapplicable or could cause
significant interoperability or security problems. In most cases, a
“MUST” or “SHOULD” conformance requirement is more appropriate.</p>
</div>
<h2 id="valid-markup">Valid markup</h2>
<p>This is optional before publishing a PR, but to check whether a document is valid reStructuredText or Markdown, first install <code>rst2html5</code> and <code>pandoc</code>. E.g. on Debian-based distros::</p>
<p>This is optional before publishing a PR, but to check whether a
document is valid reStructuredText or Markdown, first install
<code>rst2html5</code> and <code>pandoc</code>. E.g. on Debian-based
distros::</p>
<pre><code>sudo apt install python3-pip pandoc perl sed
pip3 install docutils==0.19 rst2html5</code></pre>
<p>Then, with <code>draft-myzip.rst</code> or <code>draft-myzip.md</code> in the root directory of a clone of this repo, run::</p>
<p>Then, with <code>draft-myzip.rst</code> or
<code>draft-myzip.md</code> in the root directory of a clone of this
repo, run::</p>
<pre><code>make draft-myzip.html</code></pre>
<p>(or just “<code>make</code>”) and view <code>draft-myzip.html</code> in a web browser.</p>
<p>(or just “<code>make</code>”) and view <code>draft-myzip.html</code>
in a web browser.</p>
<h2 id="citations-and-references">Citations and references</h2>
<p>Each reference should be given a short name, e.g. “snark” <a href="#fn9" class="footnote-ref" id="fnref9" role="doc-noteref"><sup>9</sup></a>. The syntax to cite that reference is “<code>[#snark]_</code>” in reStructuredText, or “<code>[^snark]</code>” in Markdown.</p>
<p>The corresponding entry in the <a href="#references">References</a> section should look like this in reStructuredText:</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode rst"><code class="sourceCode rest"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true"></a><span class="dt">.. [#snark] </span>`The Hunting of the Snark &lt;<span class="ot">https://www.gutenberg.org/files/29888/29888-h/29888-h.htm</span>&gt;_. Lewis Carroll, with illustrations by Henry Holiday. MacMillan and Co. London. March 29, 1876.</span></code></pre></div>
<p>Each reference should be given a short name, e.g. “snark” <a
href="#fn9" class="footnote-ref" id="fnref9"
role="doc-noteref"><sup>9</sup></a>. The syntax to cite that reference
is “<code>[#snark]_</code>” in reStructuredText, or
<code>[^snark]</code>” in Markdown.</p>
<p>The corresponding entry in the <a href="#references">References</a>
section should look like this in reStructuredText:</p>
<div class="sourceCode" id="cb4"><pre
class="sourceCode rst"><code class="sourceCode rest"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="dt">.. [#snark] </span>`The Hunting of the Snark &lt;<a href="https://www.gutenberg.org/files/29888/29888-h/29888-h.htm">https://www.gutenberg.org/files/29888/29888-h/29888-h.htm</a>&gt;_. Lewis Carroll, with illustrations by Henry Holiday. MacMillan and Co. London. March 29, 1876.</span></code></pre></div>
<p>or like this in Markdown::</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode markdown"><code class="sourceCode markdown"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true"></a><span class="ot">[^snark]</span> <span class="co">[</span><span class="ot">The Hunting of the Snark</span><span class="co">](https://www.gutenberg.org/files/29888/29888-h/29888-h.htm)</span>. Lewis Carroll, with illustrations by Henry Holiday. MacMillan and Co. London. March 29, 1876.</span></code></pre></div>
<p>Note that each entry must be on a single line regardless of how long that makes the line. In Markdown there must be a blank line between entries.</p>
<p>The current rendering of a Markdown ZIP reorders the references according to their first use; the rendering of a reStructuredText ZIP keeps them in the same order as in the References section.</p>
<div class="sourceCode" id="cb5"><pre
class="sourceCode markdown"><code class="sourceCode markdown"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="ot">[^snark]</span> <span class="co">[</span><span class="ot">The Hunting of the Snark</span><span class="co">](https://www.gutenberg.org/files/29888/29888-h/29888-h.htm)</span>. Lewis Carroll, with illustrations by Henry Holiday. MacMillan and Co. London. March 29, 1876.</span></code></pre></div>
<p>Note that each entry must be on a single line regardless of how long
that makes the line. In Markdown there must be a blank line between
entries.</p>
<p>The current rendering of a Markdown ZIP reorders the references
according to their first use; the rendering of a reStructuredText ZIP
keeps them in the same order as in the References section.</p>
<p>To link to another section of the same ZIP, use</p>
<div class="sourceCode" id="cb6"><pre class="sourceCode rst"><code class="sourceCode rest"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true"></a><span class="ot">`Section title`_</span></span></code></pre></div>
<div class="sourceCode" id="cb6"><pre
class="sourceCode rst"><code class="sourceCode rest"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="ot">`Section title`_</span></span></code></pre></div>
<p>in reStructuredText, or</p>
<div class="sourceCode" id="cb7"><pre class="sourceCode markdown"><code class="sourceCode markdown"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true"></a><span class="co">[</span><span class="ot">Section title</span><span class="co">]</span></span></code></pre></div>
<div class="sourceCode" id="cb7"><pre
class="sourceCode markdown"><code class="sourceCode markdown"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a><span class="co">[</span><span class="ot">Section title</span><span class="co">]</span></span></code></pre></div>
<p>in Markdown.</p>
<h3 id="citing-the-zcash-protocol-specification">Citing the Zcash protocol specification</h3>
<p>For references to the Zcash protocol specification, prefer to link to a section anchor, and name the reference as <code>[^protocol-&lt;anchor&gt;]</code>. This makes it more likely that the link will remain valid if sections are renumbered or if content is moved. The anchors in the protocol specification can be displayed by clicking on a section heading in most PDF viewers. References to particular sections should be versioned, even though the link will point to the most recent stable version.</p>
<p>Do not include the “<code>https://zips.z.cash/</code>” part of URLs to ZIPs or the protocol spec.</p>
<h3 id="citing-the-zcash-protocol-specification">Citing the Zcash
protocol specification</h3>
<p>For references to the Zcash protocol specification, prefer to link to
a section anchor, and name the reference as
<code>[^protocol-&lt;anchor&gt;]</code>. This makes it more likely that
the link will remain valid if sections are renumbered or if content is
moved. The anchors in the protocol specification can be displayed by
clicking on a section heading in most PDF viewers. References to
particular sections should be versioned, even though the link will point
to the most recent stable version.</p>
<p>Do not include the “<code>https://zips.z.cash/</code>” part of URLs
to ZIPs or the protocol spec.</p>
<h1 id="reference-implementation">Reference implementation</h1>
<p>{This section is entirely optional; if present, it usually gives links to zcashd or zebrad PRs.}</p>
<p>{This section is entirely optional; if present, it usually gives
links to zcashd or zebrad PRs.}</p>
<h1 id="references">References</h1>
<section class="footnotes" role="doc-endnotes">
<aside id="footnotes" class="footnotes footnotes-end-of-document"
role="doc-endnotes">
<hr />
<ol>
<li id="fn1" role="doc-endnote"><p><a href="https://www.rfc-editor.org/info/bcp14">Information on BCP 14 — “RFC 2119: Key words for use in RFCs to Indicate Requirement Levels” and “RFC 8174: Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words”</a><a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn2" role="doc-endnote"><p><a href="protocol/protocol.pdf#networks">Zcash Protocol Specification, Version 2022.3.8. Section 3.12: Mainnet and Testnet</a><a href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn3" role="doc-endnote"><p><a href="protocol/protocol.pdf#blockchain">Zcash Protocol Specification, Version 2022.3.8. Section 3.3: The Block Chain</a><a href="#fnref3" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn4" role="doc-endnote"><p><a href="protocol/protocol.pdf">Zcash Protocol Specification, Version 2022.3.8 or later</a><a href="#fnref4" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn5" role="doc-endnote"><p><a href="protocol/protocol.pdf#introduction">Zcash Protocol Specification, Version 2022.3.8. Section 1: Introduction</a><a href="#fnref5" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn6" role="doc-endnote"><p><a href="protocol/protocol.pdf#networks">Zcash Protocol Specification, Version 2022.3.8. Section 3.12: Mainnet and Testnet</a><a href="#fnref6" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn7" role="doc-endnote"><p><a href="zip-0000">ZIP 0: ZIP Process</a><a href="#fnref7" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn8" role="doc-endnote"><p><a href="https://katex.org/">KaTeX - The fastest math typesetting library for the web</a><a href="#fnref8" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn9" role="doc-endnote"><p><a href="https://www.gutenberg.org/files/29888/29888-h/29888-h.htm">The Hunting of the Snark</a>. Lewis Carroll, with illustrations by Henry Holiday. MacMillan and Co. London. March 29, 1876.<a href="#fnref9" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn1"><p><a
href="https://www.rfc-editor.org/info/bcp14">Information on BCP 14 —
“RFC 2119: Key words for use in RFCs to Indicate Requirement Levels” and
“RFC 8174: Ambiguity of Uppercase vs Lowercase in RFC 2119 Key
Words”</a><a href="#fnref1" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn2"><p><a href="protocol/protocol.pdf#networks">Zcash Protocol
Specification, Version 2022.3.8. Section 3.12: Mainnet and Testnet</a><a
href="#fnref2" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn3"><p><a href="protocol/protocol.pdf#blockchain">Zcash
Protocol Specification, Version 2022.3.8. Section 3.3: The Block
Chain</a><a href="#fnref3" class="footnote-back"
role="doc-backlink">↩︎</a></p></li>
<li id="fn4"><p><a href="protocol/protocol.pdf">Zcash Protocol
Specification, Version 2022.3.8 or later</a><a href="#fnref4"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn5"><p><a href="protocol/protocol.pdf#introduction">Zcash
Protocol Specification, Version 2022.3.8. Section 1: Introduction</a><a
href="#fnref5" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn6"><p><a href="protocol/protocol.pdf#networks">Zcash Protocol
Specification, Version 2022.3.8. Section 3.12: Mainnet and Testnet</a><a
href="#fnref6" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn7"><p><a href="zip-0000">ZIP 0: ZIP Process</a><a
href="#fnref7" class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn8"><p><a href="https://katex.org/">KaTeX - The fastest math
typesetting library for the web</a><a href="#fnref8"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
<li id="fn9"><p><a
href="https://www.gutenberg.org/files/29888/29888-h/29888-h.htm">The
Hunting of the Snark</a>. Lewis Carroll, with illustrations by Henry
Holiday. MacMillan and Co. London. March 29, 1876.<a href="#fnref9"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</section>
</aside>
</body>
</html>