Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging 'main' branch into 'zsa1' to catch up with upstream changes #68

Merged
merged 133 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
43a7ca8
Add Zcash Sustainability Fund ZIP draft
tomekpiotrowski Aug 16, 2023
22b954c
Add the ZSF draft HTML
tomekpiotrowski Aug 16, 2023
3e4ca01
Smooth Out The Block Subsidy Issuance
tomekpiotrowski Aug 28, 2023
7d2929f
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
9488fce
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
c7cad3e
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
8840011
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
e085c88
Remove restriction on future protocol changes
tomekpiotrowski Aug 31, 2023
c48f5b1
Slim down the motivation section
tomekpiotrowski Aug 31, 2023
af56e30
Update the ZSF balance formula
tomekpiotrowski Aug 31, 2023
dbab6a6
Remove redundant requirements
tomekpiotrowski Aug 31, 2023
15542d7
ZSF_DEPOSIT in older non-coinbase transactions
tomekpiotrowski Aug 31, 2023
f5462c7
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
3437abe
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
0374cb4
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
8c7dd06
Update draft-zsf.md
tomekpiotrowski Aug 31, 2023
dd17988
Update draft-zsf.md
tomekpiotrowski Sep 1, 2023
73f879a
Update draft-zsf.md
tomekpiotrowski Sep 1, 2023
903c7d5
Update draft-zsf.md
tomekpiotrowski Sep 1, 2023
d7e5b28
Update draft-zsf.md
tomekpiotrowski Sep 1, 2023
06b77c8
Update draft-zsf.md
tomekpiotrowski Sep 1, 2023
1e2cec0
Update draft-zsf.md
tomekpiotrowski Sep 1, 2023
eb91d2b
draft-zsf.md updates
tomekpiotrowski Sep 1, 2023
d9eb846
Merge branch 'zsf' of github.com:eigerco/zips into eigerco/zsf
aphelionz Sep 12, 2023
e5d2cca
Update draft-zsf.md
aphelionz Sep 19, 2023
85df047
Update draft-zsf.md
aphelionz Sep 19, 2023
bb4835b
Update draft-zsf.md
aphelionz Sep 19, 2023
450d47b
Update draft-zsf.md
aphelionz Sep 19, 2023
ccd9eba
Update draft-zsf.md
aphelionz Sep 19, 2023
eac8efa
Update draft-zsf.md
aphelionz Sep 19, 2023
d6cd39f
Update draft-zsf.md
aphelionz Sep 19, 2023
753d180
Update draft-issuance.md
aphelionz Sep 19, 2023
b0c142f
Update draft-issuance.md
aphelionz Sep 19, 2023
54317ed
Update draft-issuance.md
aphelionz Sep 19, 2023
2d691eb
Update draft-issuance.md
aphelionz Sep 19, 2023
66dab1e
Update draft-issuance.md
aphelionz Sep 19, 2023
907fe1c
update: add ZSF_BALANCE and ZsfBalanceAfter(h)
aphelionz Sep 19, 2023
8b725d8
Update draft-issuance.md
aphelionz Sep 19, 2023
087f7b9
Update draft-issuance.md
aphelionz Sep 19, 2023
e3a28eb
Update draft-issuance.md
aphelionz Sep 19, 2023
609a3c6
Update draft-issuance.md
aphelionz Sep 19, 2023
2e5f390
Update draft-zsf.md
aphelionz Sep 27, 2023
5e8f30b
Merge branch 'zsf' of github.com:eigerco/zips into eigerco/zsf
aphelionz Sep 27, 2023
904c7af
chore: ZIP html
aphelionz Sep 27, 2023
5e6c367
update: references and definitions
aphelionz Sep 27, 2023
013dcc1
Update draft-issuance.md
aphelionz Sep 27, 2023
bf090f4
Update draft-issuance.md
aphelionz Sep 27, 2023
dca1174
Update draft-issuance.md
aphelionz Sep 27, 2023
de30fea
Update draft-issuance.md
aphelionz Sep 27, 2023
45ff587
Update draft-issuance.md
aphelionz Sep 27, 2023
8cc6f92
Update draft-issuance.md
aphelionz Sep 27, 2023
9f4e7fd
Update draft-issuance.md
aphelionz Sep 27, 2023
78b6c52
fix: date
aphelionz Sep 29, 2023
09e70fe
fix: revert accidental changes to other files
aphelionz Sep 29, 2023
272b516
fix: revert accidental changes
aphelionz Sep 29, 2023
c2a591a
fix: credits
aphelionz Sep 29, 2023
8ea2ecc
fix: define constants
aphelionz Sep 29, 2023
4983a32
fix: S(h) to BlockSubsidy(h)
aphelionz Sep 29, 2023
c5f83c1
fix: refactor motivation section
aphelionz Sep 29, 2023
1e977ba
update: add more context to motivation
aphelionz Oct 4, 2023
74649db
update: rename requirements from G* to R*
aphelionz Oct 4, 2023
2448c6c
update: add graph
aphelionz Oct 4, 2023
e1aa108
update: render html
aphelionz Oct 4, 2023
f603576
Update draft-issuance.md
aphelionz Oct 4, 2023
5d5bc35
Update draft-issuance.md
aphelionz Oct 4, 2023
31d05c5
Update draft-issuance.md
aphelionz Oct 4, 2023
4b6d62c
Update draft-issuance.md
aphelionz Oct 4, 2023
44d5b95
Update draft-issuance.md
aphelionz Oct 4, 2023
3f77205
Update draft-issuance.md
aphelionz Oct 4, 2023
732e65a
update: fix issuance clarity points
aphelionz Oct 4, 2023
d5ea3da
update: deployment block height
aphelionz Oct 7, 2023
44fc779
Update draft-issuance.md
aphelionz Oct 9, 2023
212244f
Update draft-issuance.md
aphelionz Oct 11, 2023
fedfd9e
Update draft-issuance.md
aphelionz Oct 11, 2023
54e349d
update: provide predictability... bullet point
aphelionz Oct 11, 2023
7c64666
update: 4126/100_000_000
aphelionz Oct 11, 2023
900b868
Update simulation code
tomekpiotrowski Oct 12, 2023
3f6eb54
Update the subsidy fraction. Remove Other Notes.
tomekpiotrowski Oct 12, 2023
776295c
Update plots and simulator outputs
tomekpiotrowski Oct 13, 2023
c315670
typos
tomekpiotrowski Oct 13, 2023
86049bb
Expand the BLOCK_SUBSIDY_FRACTION rationale
tomekpiotrowski Nov 7, 2023
b580625
Add information about deployment after ZSF is deployed
tomekpiotrowski Nov 7, 2023
0c42f7b
Explicitly mention dependency on ZSF
tomekpiotrowski Nov 7, 2023
f5224f8
Add information about ZSF subsidies per block
tomekpiotrowski Nov 7, 2023
be2140a
Update draft-issuance.md
tomekpiotrowski Nov 13, 2023
7133f29
remove network upgrade requirement
tomekpiotrowski Nov 16, 2023
f4d84e9
Move deployoment to top level and move it closer to the end
tomekpiotrowski Nov 16, 2023
20a12da
remove the summary section from motivation
tomekpiotrowski Nov 16, 2023
96169eb
Update draft-issuance.md
tomekpiotrowski Nov 16, 2023
80d66d1
Protocol spec: Add macro and Makefile support for NU6
nuttycom Dec 1, 2023
4c50af9
Update draft-zsf.md
aphelionz Mar 12, 2024
5c19898
feat: add ZIP number 233
aphelionz Apr 9, 2024
adb46fb
lang: add block subsidy
aphelionz Apr 9, 2024
ee88119
Update draft-zsf.md
aphelionz Jul 11, 2024
ded0698
ZIP 253: Fix inter-ZIP references
str4d Aug 6, 2024
246ce15
ZIP 2001: Improvements to specification
str4d Aug 6, 2024
c13d063
Render manually, while the CI-based rendering is broken
str4d Aug 13, 2024
a73fa42
Merge pull request #892 from zcash/zip-sync-editing-2024-08-06
str4d Aug 15, 2024
e0e3f25
Remove the section about `ZsfBalanceAfter` persistence
tomekpiotrowski Aug 22, 2024
435fc73
Remove the mention of zsf balance commitments
tomekpiotrowski Aug 22, 2024
38a21d3
Update zip-0253.md
arya2 Aug 26, 2024
4290ff9
Render zip-0253
nuttycom Aug 26, 2024
eb9391b
Merge pull request #897 from zcash/253-testnet-activation-height
daira Aug 26, 2024
c9df015
draft-nuttycom-funding-allocation: Move alternatives 1 & 4 to "previo…
nuttycom Jul 18, 2024
b6c7a2c
draft-nuttycom-funding-allocation: Move the 20% lockbox proposal to p…
nuttycom Jul 30, 2024
9c5e188
Create ZIP 1015 from the voted-upon funding allocation proposal draft.
nuttycom Aug 26, 2024
92ed400
Restore the draft NU6 funding proposal that was voted on.
nuttycom Aug 26, 2024
e5dc216
Update ZIP 214 to include the ZIP 1015 funding streams as Revision 1
nuttycom Aug 26, 2024
e5c5b19
ZIP 1015: update FPF-related language
conradoplg Aug 26, 2024
57d0fe6
Apply suggestions from code review
nuttycom Aug 26, 2024
718d3c2
Merge pull request #881 from nuttycom/nuttycom-reorg-fund-alternatives
nuttycom Aug 26, 2024
0d5706b
ZIP 253: move to Proposed and fill in assigned ZIP number 1015.
daira Aug 27, 2024
d93d3f4
Re-render HTML.
daira Aug 27, 2024
c63b189
Merge pull request #900 from daira/zip-253-and-rerender
nuttycom Aug 27, 2024
da1abd5
update constraint 1 per suggestion
conradoplg Aug 27, 2024
6fa4073
conformance language
conradoplg Aug 27, 2024
eb6f24f
Merge pull request #898 from zcash/fpf-language
nuttycom Aug 27, 2024
a279a34
Merge remote-tracking branch 'upstream/main' into zsf
nuttycom Aug 27, 2024
54195b1
Add Kris Nuttycombe as a ZIP Editor.
daira Aug 27, 2024
2d8c904
Re-render ZIP 1015.
daira Aug 27, 2024
f9838bf
Move draft-zsf.md to zips/zip-0233.md
nuttycom Aug 27, 2024
d039026
[ZIP 233] Wrap and format math syntax.
nuttycom Aug 27, 2024
1e0431e
Merge pull request #901 from daira/add-kris-as-zip-editor
conradoplg Aug 27, 2024
cd82c28
Merge pull request #902 from nuttycom/zsf
daira Aug 27, 2024
d6028a4
Merge remote-tracking branch 'upstream/main' into issuance
nuttycom Aug 27, 2024
6464118
[ZIP 234] Move issuance zip draft to ZIP 234
nuttycom Aug 27, 2024
996f3b4
[ZIP 234] Format and re-render
nuttycom Aug 27, 2024
a20fcbe
Boilerplate for NU6 (orginally based on Kris' branch 'protocol_nu6_bo…
daira Aug 28, 2024
815b38c
Set Change History date for 2024.5.0.
daira Aug 28, 2024
9cdb4c1
Regenerate PDFs.
daira Aug 28, 2024
11e3fab
Merge pull request #744 from nuttycom/protocol_nu6_boilerplate
daira Aug 28, 2024
93a1a87
Merge pull request #903 from nuttycom/issuance
nuttycom Aug 28, 2024
f5a6dd7
commenting out CI token lines to allow CI to build
vivek-arte Sep 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions rendered/zip-0253.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ <h2 id="nu6-deployment">NU6 deployment</h2>
<p>The primary sources of information about NU6 consensus protocol changes are:</p>
<ul>
<li>The Zcash Protocol Specification <a href="#fn4" class="footnote-ref" id="fnref4" role="doc-noteref"><sup>4</sup></a>.</li>
<li>Network Upgrade Mechanism <a href="#fn5" class="footnote-ref" id="fnref5" role="doc-noteref"><sup>5</sup></a>.</li>
<li>Lockbox Funding Streams <a href="#fn6" class="footnote-ref" id="fnref6" role="doc-noteref"><sup>6</sup></a>.</li>
<li>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>Blocks should balance exactly <a href="#fn8" class="footnote-ref" id="fnref8" role="doc-noteref"><sup>8</sup></a>.</li>
<li>ZIP 200: Network Upgrade Mechanism <a href="#fn5" class="footnote-ref" id="fnref5" 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 <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" class="footnote-ref" id="fnref8" role="doc-noteref"><sup>8</sup></a>.</li>
</ul>
<p>The network handshake and peer management mechanisms defined in ZIP 201 <a href="#fn9" class="footnote-ref" id="fnref9" role="doc-noteref"><sup>9</sup></a> also apply to this upgrade.</p>
<p>The following ZIPs have been updated in varying degrees to take into account NU6:</p>
Expand Down Expand Up @@ -68,9 +68,9 @@ <h1 id="references">References</h1>
<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" 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" role="doc-backlink">↩︎</a></p></li>
<li id="fn6" role="doc-endnote"><p><a href="draft-nuttycom-lockbox-streams">ZIP 2001 Lockbox Funding Streams</a><a href="#fnref6" 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" role="doc-backlink">↩︎</a></p></li>
<li id="fn7" role="doc-endnote"><p><a href="draft-nuttycom-funding-allocation">ZIP ???: 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="draft-hopwood-coinbase-balance">ZIP 236: Blocks should balance exactly</a><a href="#fnref8" 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" 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" 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>
Expand Down
158 changes: 147 additions & 11 deletions rendered/zip-2001.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,35 +35,115 @@
<p>The funding stream mechanism defined in ZIP 207 <a id="footnote-reference-4" class="footnote_reference" href="#zip-0207">3</a> is modified such that a funding stream may deposit funds into the deferred pool.</p>
</section>
<section id="specification"><h2><span class="section-heading">Specification</span><span class="section-anchor"> <a rel="bookmark" href="#specification"><img width="24" height="24" class="section-anchor" src="assets/images/section-anchor.png" alt=""></a></span></h2>
<section id="deferred-development-fund-chain-value-pool-balance"><h3><span class="section-heading">Deferred Development Fund Chain Value Pool Balance</span><span class="section-anchor"> <a rel="bookmark" href="#deferred-development-fund-chain-value-pool-balance"><img width="24" height="24" class="section-anchor" src="assets/images/section-anchor.png" alt=""></a></span></h3>
<p>Full node implementations MUST track an additional
<span class="math">\(\mathsf{PoolValue}_{Deferred}\)</span>
chain value pool balance, in addition to the Sprout, Sapling, and Orchard chain value pool balances. This balance is set to zero prior to the activation of Network Upgrade 6.</p>
<p>ZIP 207 <a id="footnote-reference-5" class="footnote_reference" href="#zip-0207">3</a> is modified as follows:</p>
<p>In the section <strong>Funding streams</strong> <a id="footnote-reference-6" class="footnote_reference" href="#zip-0207-funding-streams">4</a>, instead of:</p>
<section id="modifications-to-zip-207">
<h3>Modifications to ZIP 207 <a id="footnote-reference-5" class="footnote_reference" href="#zip-0207">3</a></h3>
<p>The following paragraph is added to the section <strong>Motivation</strong>:</p>
<blockquote>
<p>ZIP TBD <a id="footnote-reference-6" class="footnote_reference" href="#draft-nuttycom-funding-allocation">6</a> directs part of the block reward to a reserve, the distribution of which is to be determined via a future ZIP. ZIP 2001 <a id="footnote-reference-7" class="footnote_reference" href="#zip-2001">7</a> modified this ZIP to augment the funding stream mechanism with a common mechanism to implement this proposal.</p>
</blockquote>
<p>In the section <strong>Funding streams</strong> <a id="footnote-reference-8" class="footnote_reference" href="#zip-0207-funding-streams">4</a>, instead of:</p>
<blockquote>
<p>Each funding stream has an associated sequence of recipient addresses, each of which MUST be either a transparent P2SH address or a Sapling address.</p>
</blockquote>
<p>it will be modified to read:</p>
<blockquote>
<p>Each funding stream has an associated sequence of recipients, each of which MUST be either a transparent P2SH address, a Sapling address, or the identifier <cite>DEFERRED_POOL</cite>.</p>
</blockquote>
<p>In the section <strong>Consensus rules</strong> <a id="footnote-reference-7" class="footnote_reference" href="#zip-0207-consensus-rules">5</a>, the following will be added:</p>
<p>After the section <strong>Funding streams</strong>, a new section is added with the heading "Deferred Development Fund Chain Value Pool Balance" and the following contents:</p>
<blockquote>
<p>The "prescribed way" to pay to the <cite>DEFERRED_POOL</cite> is to add
<span class="math">\(\mathsf{FundingStream[FUND].Value}(\mathsf{height})\)</span>
to
<p>Full node implementations MUST track an additional
<span class="math">\(\mathsf{PoolValue}_{Deferred}\)</span>
chain value pool balance, in addition to the Sprout, Sapling, and Orchard chain value pool balances.</p>
<p>Define
<span class="math">\(\mathsf{totalDeferredOutput}(\mathsf{height}) := \sum_{\mathsf{fs} \in \mathsf{DeferredFundingStreams}(\mathsf{height})} \mathsf{fs.Value}(\mathsf{height})\)</span>
where
<span class="math">\(\mathsf{DeferredFundingStreams}(\mathsf{height})\)</span>
is the set of funding streams with a recipient of <cite>DEFERRED_POOL</cite> in the block at height
<span class="math">\(\mathsf{height}\)</span>
.</p>
<p>The
<span class="math">\(\mathsf{PoolValue}_{Deferred}\)</span>
chain value pool balance for a given block chain is the sum of the values of payments to <cite>DEFERRED_POOL</cite> for transactions in the block chain.</p>
<p>Equivalently,
<span class="math">\(\mathsf{PoolValue}_{Deferred}\)</span>
for a block chain up to and including height
<span class="math">\(\mathsf{height}\)</span>
is given by
<span class="math">\(\sum_{\mathsf{h} = 0}^{\mathsf{height}} \mathsf{totalDeferredOutput}(\mathsf{h})\)</span>
.</p>
<p>Note:
<span class="math">\(\mathsf{totalDeferredOutput}(\mathsf{h})\)</span>
is necessarily zero for heights
<span class="math">\(\mathsf{h}\)</span>
prior to NU6 activation.</p>
</blockquote>
<p>In the section <strong>Consensus rules</strong> <a id="footnote-reference-9" class="footnote_reference" href="#zip-0207-consensus-rules">5</a>, instead of:</p>
<blockquote>
<ul>
<li>The coinbase transaction in each block MUST contain at least one output per active funding stream that pays the stream's value in the prescribed way to the stream's recipient address for the block's height.</li>
</ul>
</blockquote>
<p>it will be modified to read:</p>
<blockquote>
<ul>
<li>In each block, for each active funding stream with a recipient other than <cite>DEFERRED_POOL</cite> at that block's height, the block's coinbase transaction MUST contain at least one output that pays the stream's value in the prescribed way to that recipient.</li>
</ul>
</blockquote>
<p>After the list of post-Canopy consensus rules, the following paragraph is added:</p>
<blockquote>
<p>The effect of the definition of
<span class="math">\(\mathsf{PoolValue}_{Deferred}\)</span>
above is that payments to the <cite>DEFERRED_POOL</cite> cause
<span class="math">\(\mathsf{FundingStream[FUND].Value}(\mathsf{height})\)</span>
to be added to
<span class="math">\(\mathsf{PoolValue}_{Deferred}\)</span>
for the block chain including that block.</p>
</blockquote>
</section>
<section id="modifications-to-the-protocol-specification"><h3><span class="section-heading">Modifications to the protocol specification</span><span class="section-anchor"> <a rel="bookmark" href="#modifications-to-the-protocol-specification"><img width="24" height="24" class="section-anchor" src="assets/images/section-anchor.png" alt=""></a></span></h3>
<p>In section <strong>7.1.2 Transaction Consensus Rules</strong> <a id="footnote-reference-10" class="footnote_reference" href="#protocol-txnconsensus">10</a>, instead of:</p>
<blockquote>
<p>The total value in zatoshi of transparent outputs from a coinbase transaction, minus
<span class="math">\(\mathsf{v^{balanceSapling}}\)</span>
, minus
<span class="math">\(\mathsf{v^{balanceOrchard}}\)</span>
, MUST NOT be greater than the value in zatoshi of the block subsidy plus the transaction fees paid by transactions in this block.</p>
</blockquote>
<p>The protocol specification is modified to define the "total issued supply" such that the total issued supply as of a given height is given by the function:</p>
<p>it will be modified to read:</p>
<blockquote>
<p>For the block at height
<span class="math">\(\mathsf{height}\)</span>
:</p>
<ul>
<li>define the "total output value" of its coinbase transaction to be the total value in zatoshi of its transparent outputs, minus
<span class="math">\(\mathsf{v^{balanceSapling}}\)</span>
, minus
<span class="math">\(\mathsf{v^{balanceOrchard}}\)</span>
, plus
<span class="math">\(\mathsf{totalDeferredOutput}(\mathsf{height})\)</span>
;</li>
<li>define the "total input value" of its coinbase transaction to be the value in zatoshi of the block subsidy, plus the transaction fees paid by transactions in the block.</li>
</ul>
<p>The total output value of a coinbase transaction MUST NOT be greater than its total input value.</p>
</blockquote>
<p>where
<span class="math">\(\mathsf{totalDeferredOutput}(\mathsf{height})\)</span>
is defined consistently with ZIP 207.</p>
<p>Note: this ZIP and ZIP 236 both make changes to the above rule. Their combined effect is that the last paragraph will be replaced by:</p>
<blockquote>
<p>[Pre-NU6] The total output value of a coinbase transaction MUST NOT be greater than its total input value.</p>
<p>[NU6 onward] The total output value of a coinbase transaction MUST be equal to its total input value.</p>
</blockquote>
<p>Section <strong>7.10 Payment of Funding Streams</strong> <a id="footnote-reference-11" class="footnote_reference" href="#protocol-fundingstreams">12</a> contains language and definitions copied from ZIP 207; it should be updated to reflect the changes made above.</p>
<p>In section <strong>3.4 Transactions and Treestates</strong> <a id="footnote-reference-12" class="footnote_reference" href="#protocol-transactions">9</a>, a definition of "total issued supply" will be added, such that the total issued supply as of a given height is given by the function:</p>
<div class="math">\(\begin{array}{ll}
\mathsf{IssuedSupply}(\mathsf{height}) := &amp;\!\!\!\!\mathsf{PoolValue}_{Transparent}(\mathsf{height}) \\
&amp;+\;\; \mathsf{PoolValue}_{Sprout}(\mathsf{height}) \\
&amp;+\,\; \mathsf{PoolValue}_{Sapling}(\mathsf{height}) \\
&amp;+\,\; \mathsf{PoolValue}_{Orchard}(\mathsf{height}) \\
&amp;+\,\; \mathsf{PoolValue}_{Deferred}(\mathsf{height})
\end{array}\)</div>
<p>The second paragraph of section <strong>1.2 High-level Overview</strong> <a id="footnote-reference-13" class="footnote_reference" href="#protocol-overview">8</a> should also be updated to take into account the deferred chain value pool. Since that section of the specification is entirely non-normative, we do not give the full wording change here.</p>
</section>
</section>
<section id="references"><h2><span class="section-heading">References</span><span class="section-anchor"> <a rel="bookmark" href="#references"><img width="24" height="24" class="section-anchor" src="assets/images/section-anchor.png" alt=""></a></span></h2>
Expand Down Expand Up @@ -107,6 +187,62 @@
</tr>
</tbody>
</table>
<table id="draft-nuttycom-funding-allocation" class="footnote">
<tbody>
<tr>
<th>6</th>
<td><a href="draft-nuttycom-funding-allocation">Draft ZIP: Block Reward Allocation for Non-Direct Development Funding</a></td>
</tr>
</tbody>
</table>
<table id="zip-2001" class="footnote">
<tbody>
<tr>
<th>7</th>
<td><a href="zip-2001">ZIP 2001: Lockbox Funding Streams</a></td>
</tr>
</tbody>
</table>
<table id="protocol-overview" class="footnote">
<tbody>
<tr>
<th>8</th>
<td><cite>Zcash Protocol Specification, Version 2023.4.0. Section 1.2: High-level Overview &lt;protocol/protocol.pdf#overview&gt;</cite></td>
</tr>
</tbody>
</table>
<table id="protocol-transactions" class="footnote">
<tbody>
<tr>
<th>9</th>
<td><cite>Zcash Protocol Specification, Version 2023.4.0. Section 3.4: Transactions and Treestates &lt;protocol/protocol.pdf#transactions&gt;</cite></td>
</tr>
</tbody>
</table>
<table id="protocol-txnconsensus" class="footnote">
<tbody>
<tr>
<th>10</th>
<td><cite>Zcash Protocol Specification, Version 2023.4.0. Section 7.1.2: Transaction Consensus Rules &lt;protocol/protocol.pdf#txnconsensus&gt;</cite></td>
</tr>
</tbody>
</table>
<table id="protocol-subsidies" class="footnote">
<tbody>
<tr>
<th>11</th>
<td><cite>Zcash Protocol Specification, Version 2023.4.0. Section 7.8: Calculation of Block Subsidy, Funding Streams, and Founders’ Reward &lt;protocol/protocol.pdf#subsidies&gt;</cite></td>
</tr>
</tbody>
</table>
<table id="protocol-fundingstreams" class="footnote">
<tbody>
<tr>
<th>12</th>
<td><cite>Zcash Protocol Specification, Version 2023.4.0. Section 7.10: Payment of Funding Streams &lt;protocol/protocol.pdf#fundingstreams&gt;</cite></td>
</tr>
</tbody>
</table>
</section>
</section>
</body>
Expand Down
Loading