Correct the representation type of the block nVersion field to uint32_t.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2016-10-03 07:11:58 +01:00
parent 3dd475ea77
commit 488e8f443c
1 changed files with 3 additions and 1 deletions

View File

@ -2849,7 +2849,7 @@ The \Zcash \blockHeader format is as follows:
Bytes & \heading{Name} & \heading{Data Type} & \heading{Description} \\
\hhline{|=|=|=|=|}
4 & $\nVersion$ & \type{int32\_t} & The \blockVersionNumber indicates which set of
4 & $\nVersion$ & \type{uint32\_t} & The \blockVersionNumber indicates which set of
\block validation rules to follow. The current and only defined \blockVersionNumber
for \Zcash is $4$. \\ \hline
@ -3633,6 +3633,8 @@ The errors in the proof of Ledger Indistinguishability mentioned in
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}$;
it just better reflects the implementation.)
\item Correct the representation type of the \block $\nVersion$ field to
\type{uint32\_t}.
\end{itemize}
\subparagraph{2016.0-beta-1.7}