Skip to content

Commit

Permalink
ZIP 214: add Mainnet funding stream addresses.
Browse files Browse the repository at this point in the history
These were added to zcashd in zcash/zcash#4700 .

Also rename the funding stream from FS_ZIP214_ECC to FS_ZIP214_BP (see
zcash/zcash#4830), and "ECC slice" to "BP slice".

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
  • Loading branch information
daira committed Oct 27, 2020
1 parent 2c5ab50 commit 6f94cb6
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 19 deletions.
65 changes: 57 additions & 8 deletions zip-0214.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<p>The term "network upgrade" in this document is to be interpreted as described in ZIP 200 <a id="id3" class="footnote_reference" href="#zip-0200">8</a> and the Zcash Trademark Donation and License Agreement (<a id="id4" class="footnote_reference" href="#trademark">6</a> or successor agreement).</p>
<p>The term "block subsidy" in this document is to be interpreted as described in section 3.9 of the Zcash Protocol Specification <a id="id5" class="footnote_reference" href="#protocol-subsidyconcepts">4</a>.</p>
<p>The term "halving" in this document are to be interpreted as described in sections 7.7 of the Zcash Protocol Specification <a id="id6" class="footnote_reference" href="#protocol-subsidies">5</a>.</p>
<p>The terms "Electric Coin Company" (or "ECC"), "Zcash Foundation" (or "ZF"), "Major Grants", "ECC slice", "ZF slice", and "MG slice" in this document are to be interpreted as described in ZIP 1014 <a id="id7" class="footnote_reference" href="#zip-1014">12</a>.</p>
<p>The terms "Bootstrap Project" (or "BP"), "Electric Coin Company" (or "ECC"), "Zcash Foundation" (or "ZF"), "Major Grants", "BP slice", "ZF slice", and "MG slice" in this document are to be interpreted as described in ZIP 1014 <a id="id7" class="footnote_reference" href="#zip-1014">12</a>.</p>
<p>The terms "Testnet" and "Mainnet" are to be interpreted as described in section 3.11 of the Zcash Protocol Specification <a id="id8" class="footnote_reference" href="#protocol-networks">3</a>.</p>
<p>"Canopy" is the code-name for the fifth Zcash network upgrade, also known as Network Upgrade 4.</p>
</section>
Expand Down Expand Up @@ -59,7 +59,7 @@
</thead>
<tbody>
<tr>
<td><code>FS_ZIP214_ECC</code></td>
<td><code>FS_ZIP214_BP</code></td>
<td>7</td>
<td>100</td>
<td>1046400</td>
Expand Down Expand Up @@ -97,7 +97,7 @@
</thead>
<tbody>
<tr>
<td><code>FS_ZIP214_ECC</code></td>
<td><code>FS_ZIP214_BP</code></td>
<td>7</td>
<td>100</td>
<td>1028500</td>
Expand Down Expand Up @@ -128,7 +128,7 @@
<section id="dev-fund-recipient-addresses"><h3><span class="section-heading">Dev Fund Recipient Addresses</span><span class="section-anchor"> <a rel="bookmark" href="#dev-fund-recipient-addresses"><img width="24" height="24" src="assets/images/section-anchor.png" alt=""></a></span></h3>
<p>For each of Testnet and Mainnet, before deploying this ZIP in a node implementation with the activation height set for that network, each of the parties (ECC and ZF) SHALL generate sequences of recipient addresses to be used for each stream in each funding period:</p>
<ul>
<li>ECC SHALL generate the addresses for the <code>FS_ECC</code> funding stream, which on Mainnet corresponds to the <strong>ECC slice</strong>;</li>
<li>ECC SHALL generate the addresses for the <code>FS_BP</code> funding stream, which on Mainnet corresponds to the <strong>BP slice</strong>;</li>
<li>ZF SHALL generate the addresses for the <code>FS_ZF</code> and <code>FS_MG</code> funding streams, which on Mainnet correspond to the <strong>ZF slice</strong> and <strong>MG slice</strong> respectively.</li>
</ul>
<p>Within each stream, the addresses MAY be independent, or MAY be repeated between funding periods. Each party SHOULD take account of operational security issues associated with potential compromise of the associated spending keys.</p>
Expand All @@ -141,14 +141,63 @@
</section>
</section>
<section id="mainnet-recipient-addresses"><h3><span class="section-heading">Mainnet Recipient Addresses</span><span class="section-anchor"> <a rel="bookmark" href="#mainnet-recipient-addresses"><img width="24" height="24" src="assets/images/section-anchor.png" alt=""></a></span></h3>
<pre>FS_ECC_Addresses[0..47] = TODO
<pre>FS_BP_Addresses[0..47] = [
"t3LmX1cxWPPPqL4TZHx42HU3U5ghbFjRiif",
"t3Toxk1vJQ6UjWQ42tUJz2rV2feUWkpbTDs",
"t3ZBdBe4iokmsjdh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ixGe9txeSxeofLS9t3yFQ",
"t3S799pq9sYBFwccRecoTJ3SvQXRHPrHqvx",
"t3fhYnv1S5dXwau7GED3c1XErzt4n4vDxmf",
"t3cmE3vsBc5xfDJKXXZdpydCPSdZqt6AcNi",
"t3h5fPdjJVHaH4HwynYDM5BB3J7uQaoUwKi",
"t3Ma35c68BgRX8sdLDJ6WR1PCrKiWHG4Da9",
"t3LokMKPL1J8rkJZvVpfuH7dLu6oUWqZKQK",
"t3WFFGbEbhJWnASZxVLw2iTJBZfJGGX73mM",
"t3L8GLEsUn4QHNaRYcX3EGyXmQ8kjpT1zTa",
"t3PgfByBhaBSkH8uq4nYJ9ZBX4NhGCJBVYm",
"t3WecsqKDhWXD4JAgBVcnaCC2itzyNZhJrv",
"t3ZG9cSfopnsMQupKW5v9sTotjcP5P6RTbn",
"t3hC1Ywb5zDwUYYV8LwhvF5rZ6m49jxXSG5",
"t3VgMqDL15ZcyQDeqBsBW3W6rzfftrWP2yB",
"t3LC94Y6BwLoDtBoK2NuewaEbnko1zvR9rm",
"t3cWCUZJR3GtALaTcatrrpNJ3MGbMFVLRwQ",
"t3YYF4rPLVxDcF9hHFsXyc5Yq1TFfbojCY6",
"t3XHAGxRP2FNfhAjxGjxbrQPYtQQjc3RCQD"
]

FS_ZF_Addresses[0..47] = TODO
FS_ZF_Addresses[0..47] = ["t3dvVE3SQEi7kqNzwrfNePxZ1d4hUyztBA1"] * 48

FS_MG_Addresses[0..47] = TODO</pre>
FS_MG_Addresses[0..47] = ["t3XyYW8yBFRuMnfvm5KLGFbEVz25kckZXym"] * 48</pre>
</section>
<section id="testnet-recipient-addresses"><h3><span class="section-heading">Testnet Recipient Addresses</span><span class="section-anchor"> <a rel="bookmark" href="#testnet-recipient-addresses"><img width="24" height="24" src="assets/images/section-anchor.png" alt=""></a></span></h3>
<pre>FS_ECC_Addresses[0..50] = [
<pre>FS_BP_Addresses[0..50] = [
"t26ovBdKAJLtrvBsE2QGF4nqBkEuptuPFZz",
"t26ovBdKAJLtrvBsE2QGF4nqBkEuptuPFZz",
"t26ovBdKAJLtrvBsE2QGF4nqBkEuptuPFZz",
Expand Down
72 changes: 61 additions & 11 deletions zip-0214.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ section 3.9 of the Zcash Protocol Specification [#protocol-subsidyconcepts]_.
The term "halving" in this document are to be interpreted as described in
sections 7.7 of the Zcash Protocol Specification [#protocol-subsidies]_.

The terms "Electric Coin Company" (or "ECC"), "Zcash Foundation" (or "ZF"),
"Major Grants", "ECC slice", "ZF slice", and "MG slice" in this document are to
be interpreted as described in ZIP 1014 [#zip-1014]_.
The terms "Bootstrap Project" (or "BP"), "Electric Coin Company" (or "ECC"),
"Zcash Foundation" (or "ZF"), "Major Grants", "BP slice", "ZF slice", and
"MG slice" in this document are to be interpreted as described in ZIP 1014
[#zip-1014]_.

The terms "Testnet" and "Mainnet" are to be interpreted as described in
section 3.11 of the Zcash Protocol Specification [#protocol-networks]_.
Expand Down Expand Up @@ -105,7 +106,7 @@ The following funding streams are defined for Mainnet:
================= =========== ============= ============== ============
Stream Numerator Denominator Start height End height
================= =========== ============= ============== ============
``FS_ZIP214_ECC`` 7 100 1046400 2726400
``FS_ZIP214_BP`` 7 100 1046400 2726400
``FS_ZIP214_ZF`` 5 100 1046400 2726400
``FS_ZIP214_MG`` 8 100 1046400 2726400
================= =========== ============= ============== ============
Expand All @@ -119,7 +120,7 @@ The following funding streams are defined for Testnet:
================= =========== ============= ============== ============
Stream Numerator Denominator Start height End height
================= =========== ============= ============== ============
``FS_ZIP214_ECC`` 7 100 1028500 2796000
``FS_ZIP214_BP`` 7 100 1028500 2796000
``FS_ZIP214_ZF`` 5 100 1028500 2796000
``FS_ZIP214_MG`` 8 100 1028500 2796000
================= =========== ============= ============== ============
Expand All @@ -146,8 +147,8 @@ with the activation height set for that network, each of the parties (ECC and ZF
SHALL generate sequences of recipient addresses to be used for each stream in each
funding period:

* ECC SHALL generate the addresses for the ``FS_ECC`` funding stream, which on
Mainnet corresponds to the **ECC slice**;
* ECC SHALL generate the addresses for the ``FS_BP`` funding stream, which on
Mainnet corresponds to the **BP slice**;
* ZF SHALL generate the addresses for the ``FS_ZF`` and ``FS_MG`` funding streams,
which on Mainnet correspond to the **ZF slice** and **MG slice** respectively.

Expand Down Expand Up @@ -183,19 +184,68 @@ Mainnet Recipient Addresses

::

FS_ECC_Addresses[0..47] = TODO
FS_BP_Addresses[0..47] = [
"t3LmX1cxWPPPqL4TZHx42HU3U5ghbFjRiif",
"t3Toxk1vJQ6UjWQ42tUJz2rV2feUWkpbTDs",
"t3ZBdBe4iokmsjdhMuwkxEdqMCFN16YxKe6",
"t3ZuaJziLM8xZ32rjDUzVjVtyYdDSz8GLWB",
"t3bAtYWa4bi8VrtvqySxnbr5uqcG9czQGTZ",
"t3dktADfb5Rmxncpe1HS5BRS5Gcj7MZWYBi",
"t3hgskquvKKoCtvxw86yN7q8bzwRxNgUZmc",
"t3R1VrLzwcxAZzkX4mX3KGbWpNsgtYtMntj",
"t3ff6fhemqPMVujD3AQurxRxTdvS1pPSaa2",
"t3cEUQFG3KYnFG6qYhPxSNgGi3HDjUPwC3J",
"t3WR9F5U4QvUFqqx9zFmwT6xFqduqRRXnaa",
"t3PYc1LWngrdUrJJbHkYPCKvJuvJjcm85Ch",
"t3bgkjiUeatWNkhxY3cWyLbTxKksAfk561R",
"t3Z5rrR8zahxUpZ8itmCKhMSfxiKjUp5Dk5",
"t3PU1j7YW3fJ67jUbkGhSRto8qK2qXCUiW3",
"t3S3yaT7EwNLaFZCamfsxxKwamQW2aRGEkh",
"t3eutXKJ9tEaPSxZpmowhzKhPfJvmtwTEZK",
"t3gbTb7brxLdVVghSPSd3ycGxzHbUpukeDm",
"t3UCKW2LrHFqPMQFEbZn6FpjqnhAAbfpMYR",
"t3NyHsrnYbqaySoQqEQRyTWkjvM2PLkU7Uu",
"t3QEFL6acxuZwiXtW3YvV6njDVGjJ1qeaRo",
"t3PdBRr2S1XTDzrV8b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SQEi7kqNzwrfNePxZ1d4hUyztBA1"] * 48

FS_MG_Addresses[0..47] = TODO
FS_MG_Addresses[0..47] = ["t3XyYW8yBFRuMnfvm5KLGFbEVz25kckZXym"] * 48


Testnet Recipient Addresses
---------------------------

::

FS_ECC_Addresses[0..50] = [
FS_BP_Addresses[0..50] = [
"t26ovBdKAJLtrvBsE2QGF4nqBkEuptuPFZz",
"t26ovBdKAJLtrvBsE2QGF4nqBkEuptuPFZz",
"t26ovBdKAJLtrvBsE2QGF4nqBkEuptuPFZz",
Expand Down

0 comments on commit 6f94cb6

Please sign in to comment.