mirror of https://github.com/zcash/zips.git
ZIP 207: s/founders reward/Founders' Reward/
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
45833a1588
commit
83abb5f5d3
|
@ -309,8 +309,8 @@ Address(height) = FundingStream[FUND].Addresses[FundingStream[FUND].AddressIndex
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
|
<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
|
||||||
<span class="c1">// Coinbase transaction must include an output sending 20% of</span>
|
<span class="c1">// Coinbase transaction must include an output sending 20% of</span>
|
||||||
<span class="c1">// the block subsidy to a Founders' Reward script, until the last founders</span>
|
<span class="c1">// the block subsidy to a Founders' Reward script, until the last Founders'</span>
|
||||||
<span class="c1">// reward block is reached, with exception of the genesis block.</span>
|
<span class="c1">// Reward block is reached, with exception of the genesis block.</span>
|
||||||
<span class="c1">// The last Founders' Reward block is defined as the block just before the</span>
|
<span class="c1">// The last Founders' Reward block is defined as the block just before the</span>
|
||||||
<span class="c1">// first subsidy halving block.</span>
|
<span class="c1">// first subsidy halving block.</span>
|
||||||
<span class="k">if</span> <span class="p">((</span><span class="n">nHeight</span> <span class="o">></span> <span class="mi">0</span><span class="p">)</span> <span class="o">&&</span> <span class="p">(</span><span class="n">nHeight</span> <span class="o"><=</span> <span class="n">consensusParams</span><span class="p">.</span><span class="n">GetLastFoundersRewardBlockHeight</span><span class="p">()))</span> <span class="p">{</span>
|
<span class="k">if</span> <span class="p">((</span><span class="n">nHeight</span> <span class="o">></span> <span class="mi">0</span><span class="p">)</span> <span class="o">&&</span> <span class="p">(</span><span class="n">nHeight</span> <span class="o"><=</span> <span class="n">consensusParams</span><span class="p">.</span><span class="n">GetLastFoundersRewardBlockHeight</span><span class="p">()))</span> <span class="p">{</span>
|
||||||
|
|
|
@ -322,8 +322,8 @@ Example implementation
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Coinbase transaction must include an output sending 20% of
|
// Coinbase transaction must include an output sending 20% of
|
||||||
// the block subsidy to a Founders' Reward script, until the last founders
|
// the block subsidy to a Founders' Reward script, until the last Founders'
|
||||||
// reward block is reached, with exception of the genesis block.
|
// Reward block is reached, with exception of the genesis block.
|
||||||
// The last Founders' Reward block is defined as the block just before the
|
// The last Founders' Reward block is defined as the block just before the
|
||||||
// first subsidy halving block.
|
// first subsidy halving block.
|
||||||
if ((nHeight > 0) && (nHeight <= consensusParams.GetLastFoundersRewardBlockHeight())) {
|
if ((nHeight > 0) && (nHeight <= consensusParams.GetLastFoundersRewardBlockHeight())) {
|
||||||
|
|
Loading…
Reference in New Issue