Modify funding stream tables and notes to reflect changes in ZIP 214.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2020-08-11 01:52:06 +01:00
parent fd2416d9ea
commit a651ad7fe7
1 changed files with 31 additions and 11 deletions

View File

@ -1523,6 +1523,8 @@ electronic commerce and payment, financial privacy, proof of work, zero knowledg
\newcommand{\foundersReward}{\term{Founders' Reward}} \newcommand{\foundersReward}{\term{Founders' Reward}}
\newcommand{\slowStartPeriod}{\term{slow-start period}} \newcommand{\slowStartPeriod}{\term{slow-start period}}
\newcommand{\halvingInterval}{\term{halving interval}} \newcommand{\halvingInterval}{\term{halving interval}}
\newcommand{\halving}{\term{halving}}
\newcommand{\halvings}{\terms{halving}}
\newcommand{\utxoSet}{\term{unspent transaction output set}} \newcommand{\utxoSet}{\term{unspent transaction output set}}
\newcommand{\fundingStream}{\term{funding stream}} \newcommand{\fundingStream}{\term{funding stream}}
\newcommand{\fundingStreams}{\terms{funding stream}} \newcommand{\fundingStreams}{\terms{funding stream}}
@ -10078,27 +10080,43 @@ recipient address represented by $\fsAddressList_{\fsAddressIndex(\BlockHeight)}
Let $\CanopyActivationHeight$ be as defined in \crossref{constants}. Let $\CanopyActivationHeight$ be as defined in \crossref{constants}.
\vspace{0.5ex} \vspace{0.5ex}
\cite{ZIP-214} defines three \fundingStreams: \cite{ZIP-214} defines these \fundingStreams for \Mainnet:
\renewcommand{\arraystretch}{1} \renewcommand{\arraystretch}{1}
\begin{formulae} \begin{formulae}
\item \begin{tabular}{|l|c|c|c|c|} \item \begin{tabular}{|l|c|c|c|c|}
\hline \hline
Stream & Numerator & Denominator & Start height & End height \\\hline Stream & Numerator & Denominator & Start height & End height \\\hline
\texttt{FS\_ZIP214\_ECC} & $7$ & $100$ & $\CanopyActivationHeight$ & $2726400$ \\ \texttt{FS\_ZIP214\_ECC} & $7$ & $100$ & $1046400$ & $2726400$ \\
\texttt{FS\_ZIP214\_ZF} & $5$ & $100$ & $\CanopyActivationHeight$ & $2726400$ \\ \texttt{FS\_ZIP214\_ZF} & $5$ & $100$ & $1046400$ & $2726400$ \\
\texttt{FS\_ZIP214\_MG} & $8$ & $100$ & $\CanopyActivationHeight$ & $2726400$ \\\hline \texttt{FS\_ZIP214\_MG} & $8$ & $100$ & $1046400$ & $2726400$ \\\hline
\end{tabular}
\end{formulae}
It also defines these \fundingStreams for \Testnet:
\begin{formulae}
\item \begin{tabular}{|l|c|c|c|c|}
\hline
Stream & Numerator & Denominator & Start height & End height \\\hline
\texttt{FS\_ZIP214\_ECC} & $7$ & $100$ & $1028500$ & $2796000$ \\
\texttt{FS\_ZIP214\_ZF} & $5$ & $100$ & $1028500$ & $2796000$ \\
\texttt{FS\_ZIP214\_MG} & $8$ & $100$ & $1028500$ & $2796000$ \\\hline
\end{tabular} \end{tabular}
\end{formulae} \end{formulae}
\begin{pnotes} \begin{pnotes}
\item $\CanopyActivationHeight$ is different between \Mainnet and \Testnet. \item The \blockHeights of \halvings are different between \Testnet and \Mainnet, as a
\item On \Testnet, the \activationHeight of \Canopy will be before the first halving. result of different \activationHeights for the \Blossom \networkUpgrade (which
Therefore, the consequence of the above rules for \Testnet is that the amount sent to changed the \blockTargetSpacing). The end height of these funding streams
each recipient \fundingStream address will initially (before \Testnet \blockHeight $1046400$) corresponds to the second \halving on each network.
be double the corresponding initial amount on \Mainnet. This reduces to the same amount \item On \Testnet, the \activationHeight of \Canopy is before the first \halving.
as on \Mainnet, from \Testnet \blockHeights $1046400$ (inclusive) to $2726400$ (exclusive). Therefore, the consequence of the above rules for \Testnet is that the amount sent
to each \Zcash Development Fund recipient address will initially (before \Testnet
\blockHeight $1116000$) be double the number of currency units as the corresponding
initial amount on \Mainnet. This reduces to the same number of currency units as on
\Mainnet, from \Testnet \blockHeights $1116000$ (inclusive) to $2796000$ (exclusive).
\end{pnotes} \end{pnotes}
} %canopy } %canopy
@ -10789,6 +10807,8 @@ Peter Newell's illustration of the Jubjub bird, from \cite{Carroll1902}.
\begin{itemize} \begin{itemize}
\canopy{ \canopy{
\item Set $\CanopyActivationHeight$ for \Testnet. \item Set $\CanopyActivationHeight$ for \Testnet.
\item Modify the tables and notes in \crossref{zip214fundingstreams} to reflect changes in
\cite{ZIP-214}.
} %canopy } %canopy
\end{itemize} \end{itemize}