Skip to content

Commit

Permalink
Allow anchoring to any previous output treestate in the same transact…
Browse files Browse the repository at this point in the history
…ion. closes zcash/zcash#604

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
  • Loading branch information
daira committed May 6, 2016
1 parent 9bb4410 commit d6d25de
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions protocol/protocol.tex
Original file line number Diff line number Diff line change
Expand Up @@ -839,13 +839,10 @@ \subsection{The Blockchain}

The total value of the outputs must not exceed the total value of the inputs.

The \anchor of the \changed{first} \joinSplitDescription in a \transaction must refer to
some earlier \block's final \treestate.

\changed{
The \anchor of each subsequent \joinSplitDescription may refer either to some earlier
\block's final \treestate, or to the output \treestate of the immediately preceding
\joinSplitDescription.
The \anchor of each \joinSplitDescription in a \transaction must refer to either
some earlier \block's final \treestate, or to the output \treestate of any prior
\joinSplitDescription in the same \transaction.
}

These conditions act as constraints on the blocks that a \fullnode will
Expand Down

0 comments on commit d6d25de

Please sign in to comment.