From d0caaa2ee96e5a7e7b773b0b49b785897a6ca464 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 7 May 2021 16:32:26 +0100 Subject: [PATCH] Clarify that transparent inputs are prohibited in coinbase transactions only if they have a non-null `prevout` field. closes #498 Co-authored-by: teor Co-authored-by: Jack Grigg Signed-off-by: Daira Hopwood --- protocol/protocol.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/protocol/protocol.tex b/protocol/protocol.tex index 86566919..6c4c2e40 100644 --- a/protocol/protocol.tex +++ b/protocol/protocol.tex @@ -1896,6 +1896,7 @@ electronic commerce and payment, financial privacy, proof of work, zero knowledg \newcommand{\nConsensusBranchId}{\mathtt{nConsensusBranchId}} \newcommand{\txInCount}{\mathtt{tx\_in\_count}} \newcommand{\txIn}{\mathtt{tx\_in}} +\newcommand{\prevout}{\mathtt{prevout}} \newcommand{\txOutCount}{\mathtt{tx\_out\_count}} \newcommand{\txOut}{\mathtt{tx\_out}} \newcommand{\lockTime}{\mathtt{lock\_time}} @@ -12361,12 +12362,11 @@ Several fields are reordered and/or renamed relative to prior versions.}} %scale \item The total value in \zatoshi of \transparentOutputs from a \coinbaseTransaction\heartwood{, minus $\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. + \item A \coinbaseTransaction \MUSTNOT have any \transparentInputs with non-null $\prevout$ fields, \notheartwood{ - \item A \coinbaseTransaction \MUSTNOT have any \transparentInputs, \joinSplitDescriptions\sapling{, \spendDescriptions, or \outputDescriptions}. } \notbeforeheartwood{ - \item A \coinbaseTransaction \MUSTNOT have any \transparentInputs, \joinSplitDescriptions\sapling{, or \spendDescriptions}. \preheartwooditem{\sapling{A \coinbaseTransaction also \MUSTNOT have any \outputDescriptions.}} } @@ -14267,6 +14267,8 @@ Peter Newell's illustration of the Jubjub bird, from \cite{Carroll1902}. \unifiedPaymentAddresses. Remove the corresponding note from \crossref{orchardkeycomponents}. \item Clarify that the change to use \hashBlockCommitments{} in a \blockHeader for \NUFive is a consensus rule. + \item Clarify that \transparentInputs are prohibited in \coinbaseTransactions only if they have + a non-null $\prevout$ field. \item Caveat how the result of \cite{GG2015} applies to analysis of $\PRFnf{Orchard}{}$ in \crossref{concreteprfs}. \item Unlinkability of \diversifiedPaymentAddresses depends on the \xDecisionalDiffieHellmanProblem,