From 83acc60074755b5171b6e226696fb8f659700c6c Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Mon, 3 Oct 2016 07:12:56 +0100 Subject: [PATCH] OP_CODESEPARATOR has been disabled, and no longer affects signature hashes. Signed-off-by: Daira Hopwood --- protocol/protocol.tex | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/protocol/protocol.tex b/protocol/protocol.tex index c9b0947b..8c330d39 100644 --- a/protocol/protocol.tex +++ b/protocol/protocol.tex @@ -3151,6 +3151,12 @@ as its $\scriptPubKey$. \end{pnotes} +\nsubsection{Changes to the Script System} \label{scripts} + +The \ScriptOP{CODESEPARATOR} opcode has been disabled. This opcode also no longer +affects the calculation of signature hashes. + + \nsubsection{Bitcoin Improvement Proposals} \label{bips} In general, Bitcoin Improvement Proposals (BIPs) do not apply to \Zcash unless @@ -3629,6 +3635,8 @@ The errors in the proof of Ledger Indistinguishability mentioned in \begin{itemize} \item Specify the lead bytes for \transparent P2SH and P2PKH addresses. \item Add a section on which BIPs apply to \Zcash. + \item Specify that \ScriptOP{CODESEPARATOR} has been disabled, and + no longer affects signature hashes. \item Change the representation type of $\vpubOldField$ and $\vpubNewField$ to \type{uint64\_t}. (This is not a consensus change because the type of $\vpubOld$ and $\vpubNew$ was already specified to be $\range{0}{\MAXMONEY}$;