Add \zcashdref for referencing zcashd versions (also \zebraref which is currently unused).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-09-01 11:22:09 +01:00
parent 7e5272e70b
commit 324c9ae7b9
1 changed files with 4 additions and 2 deletions

View File

@ -270,6 +270,8 @@
\newcommand{\footnoteref}[1]{\hairspace\raisebox{0ex}{\cref{#1}}} \newcommand{\footnoteref}[1]{\hairspace\raisebox{0ex}{\cref{#1}}}
\newcommand{\snarkref}[2]{\raisebox{0ex}{\hyperref[#2]{\linkstrut\smash{\textbf{#1}}}}} \newcommand{\snarkref}[2]{\raisebox{0ex}{\hyperref[#2]{\linkstrut\smash{\textbf{#1}}}}}
\newcommand{\historyref}[1]{\raisebox{0ex}{\hyperref[#1]{\linkstrut\smash{v#1}}}} \newcommand{\historyref}[1]{\raisebox{0ex}{\hyperref[#1]{\linkstrut\smash{v#1}}}}
\newcommand{\zcashdref}[1]{\href{https://github.com/zcash/zcash/releases/tag/#1}{\textsf{zcashd #1}}}
\newcommand{\zebraref}[1]{\href{https://github.com/ZcashFoundation/zebra/releases/tag/#1}{\textsf{zebra #1}}}
\newcommand{\callout}[2]{\vspace{1ex plus 2pt minus 2pt}#1\textbf{#2}\hspace{1em}} \newcommand{\callout}[2]{\vspace{1ex plus 2pt minus 2pt}#1\textbf{#2}\hspace{1em}}
\newcommand{\historyentry}[2]{\introlist\extralabel{#1}{\headingandlabel{\callout{}{#1}{#2}}{\##1}}} \newcommand{\historyentry}[2]{\introlist\extralabel{#1}{\headingandlabel{\callout{}{#1}{#2}}{\##1}}}
@ -13095,7 +13097,7 @@ rejected by this rule at a given point in time may later be accepted.
\vspace{-0.5ex} \vspace{-0.5ex}
\item The rule limiting $\nTimeField$ to be no later than $90 \mult 60$ seconds after the \item The rule limiting $\nTimeField$ to be no later than $90 \mult 60$ seconds after the
\medianTimePast is a retrospective consensus change, applied as a soft fork in \medianTimePast is a retrospective consensus change, applied as a soft fork in
\zcashd v2.1.1-1. It had not been violated by any \block from the given \blockHeights \zcashdref{v2.1.1-1}. It had not been violated by any \block from the given \blockHeights
in the consensus \blockChains of either \Mainnet or \Testnet. in the consensus \blockChains of either \Mainnet or \Testnet.
\overwinter{ \overwinter{
\vspace{-0.5ex} \vspace{-0.5ex}
@ -15273,7 +15275,7 @@ Peter Newell's illustration of the Jubjub bird, from \cite{Carroll1902}.
\historyentry{2020.1.0}{2020-02-06} \historyentry{2020.1.0}{2020-02-06}
\begin{itemize} \begin{itemize}
\item Specify a retrospective soft fork implemented in \zcashd v2.1.1-1 that \item Specify a retrospective soft fork implemented in \zcashdref{v2.1.1-1} that
limits the $\nTimeField$ field of a \block relative to its \medianTimePast. limits the $\nTimeField$ field of a \block relative to its \medianTimePast.
\item Correct the definition of \medianTimePast for the first $\PoWMedianBlockSpan$ \item Correct the definition of \medianTimePast for the first $\PoWMedianBlockSpan$
\blocks in a \blockChain. \blocks in a \blockChain.