From 5dce44d0a04624cd15d69c24763ffba21fb97878 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 18 May 2018 21:24:15 +0100 Subject: [PATCH] Fix the description of the Sapling balancing value. Signed-off-by: Daira Hopwood --- protocol/protocol.tex | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/protocol/protocol.tex b/protocol/protocol.tex index 9cf123a9..3ee708bd 100644 --- a/protocol/protocol.tex +++ b/protocol/protocol.tex @@ -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}