mirror of https://github.com/zcash/zips.git
Protocol spec: clarify that the transaction and header encodings should be read in the context of consensus rules in those sections.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
0dc531d04c
commit
32a0709ffc
|
@ -8653,9 +8653,11 @@ upgrade-supporting nodes \MUST allow for this.
|
|||
\intropart
|
||||
\lsection{Consensus Changes from \BitcoinText}{consensusfrombitcoin}
|
||||
|
||||
\vspace{-1ex}
|
||||
\lsubsection{Encoding of \Transactions}{txnencoding}
|
||||
|
||||
The \Zcash \transaction format is as follows:
|
||||
The \Zcash \transaction format is as follows (this should be read in the context
|
||||
of consensus rules later in the section):
|
||||
|
||||
\begin{center}
|
||||
\scalebox{\sprout{0.92}\notsprout{0.88}}{
|
||||
|
@ -8676,11 +8678,11 @@ $\geq 1$ & $4$ & $\headerField$ & \type{uint32} & Contains: \begin{compactitemiz
|
|||
$\geq 3$ & $4$ & $\nVersionGroupId\!$ & \type{uint32} & Version group ID (nonzero). \\ \hline
|
||||
}
|
||||
|
||||
$\geq 1$ & \Varies & $\txInCount$ & \compactSize & Number of \transparent inputs in this \transaction. \\ \hline
|
||||
$\geq 1$ & \Varies & $\txInCount$ & \compactSize & Number of \transparent inputs. \\ \hline
|
||||
|
||||
$\geq 1$ & \Varies & $\txIn$ & $\txIn$ & \xTransparent inputs, encoded as in \Bitcoin. \\ \hline
|
||||
|
||||
$\geq 1$ & \Varies & $\txOutCount$ & \compactSize & Number of \transparent outputs in this \transaction. \\ \hline
|
||||
$\geq 1$ & \Varies & $\txOutCount$ & \compactSize & Number of \transparent outputs. \\ \hline
|
||||
|
||||
$\geq 1$ & \Varies & $\txOut$ & $\txOut$ & \xTransparent outputs, encoded as in \Bitcoin. \\ \hline
|
||||
|
||||
|
@ -9046,7 +9048,8 @@ Other consensus rules applying to an \outputDescription are given in \crossref{o
|
|||
\introsection
|
||||
\lsubsection{\BlockHeader}{blockheader}
|
||||
|
||||
The \Zcash \blockHeader format is as follows:
|
||||
The \Zcash \blockHeader format is as follows (this should be read in the context
|
||||
of consensus rules later in the section):
|
||||
|
||||
\begin{center}
|
||||
\hbadness=5000
|
||||
|
|
Loading…
Reference in New Issue