Fix the description of the Sapling balancing value.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2018-05-18 21:24:15 +01:00
parent 7b6df9f623
commit 5dce44d0a0
1 changed files with 7 additions and 4 deletions

View File

@ -601,6 +601,7 @@ electronic commerce and payment, financial privacy, proof of work, zero knowledg
\newcommand{\transparentOutput}{\term{transparent output}}
\newcommand{\transparentOutputs}{\term{transparent outputs}}
\newcommand{\xTransparentOutputs}{\term{Transparent outputs}}
\newcommand{\saplingValuePool}{\term{\Sapling value pool}}
\newcommand{\shielded}{\term{shielded}}
\newcommand{\shieldedNote}{\term{shielded note}}
\newcommand{\shieldedNotes}{\term{shielded notes}}
@ -4131,10 +4132,11 @@ called the \balancingValue, measured in \zatoshi as a signed integer $\vBalance$
$\vBalance$ is encoded explicitly in a \transaction as the field \valueBalance{};
see \crossref{txnencoding}.
A positive $\balancingValue$ takes value from the \transparentValuePool.
A negative $\balancingValue$ adds value to the \transparentValuePool.
As a result, positive $\vBalance$ is treated like an \emph{output} value,
whereas negative $\vBalance$ is treated like an \emph{input} value.
A positive $\balancingValue$ takes value from the \saplingValuePool and adds it
to the \transparentValuePool. A negative $\balancingValue$ does the reverse.
As a result, positive $\vBalance$ is treated like an \emph{input} to the
\transparentValuePool, whereas negative $\vBalance$ is treated like an \emph{output}
from that pool.
Consistency of $\vBalance$ with the \valueCommitments in \spendDescriptions
and \outputDescriptions is enforced by the \bindingSignature. This signature
@ -9004,6 +9006,7 @@ found by Brian Warner.
\item Add Michael Dixon and Andrew Poelstra to acknowledgements.
\sapling{
\item Correct the order of arguments to $\RedDSARandomizePrivate$ and $\RedDSARandomizePublic$.
\item Fix the description of the \balancingValue in \crossref{saplingbalance}.
} %sapling
\end{itemize}