Skip to content

Commit

Permalink
In \crossref{joinsplit}, clarify that balance for JoinSplit transfers…
Browse files Browse the repository at this point in the history
… is enforced by the

JoinSplit statement, and that there is no consensus rule to check it directly.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
  • Loading branch information
daira committed Jan 19, 2022
1 parent ac9dd97 commit 0cdab50
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions protocol/protocol.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3439,10 +3439,11 @@
it is not known where it will eventually appear in a mined \block. Therefore the
\anchors that it uses must be independent of its eventual position.

The input and output values of each \joinSplitTransfer \MUST balance exactly. This
is not a consensus rule since it cannot be checked directly; it is enforced by the
\snarkref{Balance}{sproutbalance} rule of the \joinSplitStatement.

\begin{consensusrules}
\item The input and output values of each \joinSplitTransfer \MUST balance
exactly.
\vspace{-0.5ex}
\item For the first \joinSplitDescription of a \transaction, the \anchor \MUST
be the output \Sprout \treestate of a previous \block.
\vspace{-0.5ex}
Expand Down Expand Up @@ -14519,6 +14520,13 @@
\lsection{Change History}{changehistory}


\historyentry{2022.2.19}{}
\begin{itemize}
\item In \crossref{joinsplit}, clarify that balance for \joinSplitTransfers is enforced
by the \joinSplitStatement, and that there is no consensus rule to check it directly.
\end{itemize}


\historyentry{2022.2.18}{2022-01-03}
\begin{itemize}
\nufive{
Expand Down

0 comments on commit 0cdab50

Please sign in to comment.