Explicitly say that coinbase transactions MUST NOT have transparent inputs

(this is a consensus rule inherited from Bitcoin which has been present since launch).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-04-23 22:00:26 +01:00
parent 9a1334a454
commit 10710d92a6
1 changed files with 10 additions and 3 deletions

View File

@ -12345,12 +12345,12 @@ Several fields are reordered and/or renamed relative to prior versions.}} %scale
$\vBalance{Sapling}$,}\nufive{ minus $\vBalance{Orchard}$,} \MUSTNOT be greater than the value in
\zatoshi of \minerSubsidy plus the \transactionFees paid by \transactions in this \block.
\notheartwood{
\item A \coinbaseTransaction \MUSTNOT have any
\item A \coinbaseTransaction \MUSTNOT have any \transparentInputs,
\joinSplitDescriptions\sapling{, \spendDescriptions, or \outputDescriptions}.
}
\notbeforeheartwood{
\item A \coinbaseTransaction \MUSTNOT have any
\joinSplitDescriptions\sapling{ or \spendDescriptions}.
\item A \coinbaseTransaction \MUSTNOT have any \transparentInputs,
\joinSplitDescriptions\sapling{, or \spendDescriptions}.
\preheartwooditem{\sapling{A \coinbaseTransaction also \MUSTNOT have any \outputDescriptions.}}
}
\nufiveonwarditem{In a version 5 \coinbaseTransaction, the \enableSpendsOrchard{} flag \MUST be $0$.}
@ -14220,6 +14220,13 @@ Peter Newell's illustration of the Jubjub bird, from \cite{Carroll1902}.
\lsection{Change History}{changehistory}
\historyentry{2021.1.24}{2021-04-23}
\begin{itemize}
\item Explicitly say that \coinbaseTransactions \MUSTNOT have \transparentInputs
(this is a consensus rule inherited from \Bitcoin which has been present since launch).
\end{itemize}
\historyentry{2021.1.23}{2021-04-19}
\begin{itemize}
\nufive{