Skip to content

Commit

Permalink
Explicitly say that coinbase transactions MUST NOT have transparent i…
Browse files Browse the repository at this point in the history
…nputs

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

Signed-off-by: Daira Hopwood <[email protected]>
  • Loading branch information
daira committed Apr 23, 2021
1 parent 9a1334a commit 10710d9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions protocol/protocol.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12345,12 +12345,12 @@
$\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$.}
Expand Down Expand Up @@ -14220,6 +14220,13 @@
\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{
Expand Down

0 comments on commit 10710d9

Please sign in to comment.