mirror of https://github.com/zcash/zips.git
Add an explicit consensus rule in \crossref{txnencodingandconsensus} that the reserved bits of
the flagsOrchard field MUST be zero. Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
d25f3c1f47
commit
ebd54d5ad6
|
@ -12454,6 +12454,8 @@ Several fields are reordered and/or renamed relative to prior versions.}} %scale
|
||||||
\preheartwooditem{\sapling{A \coinbaseTransaction also \MUSTNOT have any \outputDescriptions.}}
|
\preheartwooditem{\sapling{A \coinbaseTransaction also \MUSTNOT have any \outputDescriptions.}}
|
||||||
}
|
}
|
||||||
\nufiveonwarditem{In a version 5 \coinbaseTransaction, the \enableSpendsOrchard{} flag \MUST be $0$.}
|
\nufiveonwarditem{In a version 5 \coinbaseTransaction, the \enableSpendsOrchard{} flag \MUST be $0$.}
|
||||||
|
\nufiveonwarditem{In a version 5 \transaction, the reserved bits $\barerange{2}{7}$ of the
|
||||||
|
\flagsOrchard{} field \MUST be zero.}
|
||||||
\item A \coinbaseTransaction for a \block at \blockHeight greater than $0$ \MUST have a script that,
|
\item A \coinbaseTransaction for a \block at \blockHeight greater than $0$ \MUST have a script that,
|
||||||
as its first item, encodes the \blockHeight $\BlockHeight$ as follows. For $\BlockHeight$ in
|
as its first item, encodes the \blockHeight $\BlockHeight$ as follows. For $\BlockHeight$ in
|
||||||
the range $\range{1}{16}$, the encoding is a single byte of value $\hexint{50} + \BlockHeight$.
|
the range $\range{1}{16}$, the encoding is a single byte of value $\hexint{50} + \BlockHeight$.
|
||||||
|
@ -14367,6 +14369,8 @@ Peter Newell's illustration of the Jubjub bird, from \cite{Carroll1902}.
|
||||||
\historyentry{2021.2.4}{}
|
\historyentry{2021.2.4}{}
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\nufive{
|
\nufive{
|
||||||
|
\item Add an explicit consensus rule in \crossref{txnencodingandconsensus} that the
|
||||||
|
reserved bits of the \flagsOrchard{} field \MUST be zero.
|
||||||
\item Correct a cut-and-paste error in the algorithm for \crossref{orcharddummynotes},
|
\item Correct a cut-and-paste error in the algorithm for \crossref{orcharddummynotes},
|
||||||
which should refer to the \actionStatement rather than the \spendStatement.
|
which should refer to the \actionStatement rather than the \spendStatement.
|
||||||
} % nufive
|
} % nufive
|
||||||
|
|
Loading…
Reference in New Issue