@@ -1172,16 +1172,16 @@ \section{Tx-Submission mini-protocol}
1172
1172
\label {tx-submission-protocol }
1173
1173
\label {tx-submission-protocol2 }
1174
1174
1175
- \newcommand {\StInit } {\state {StInit}}
1176
- \newcommand {\MsgInit } { \trans {MsgInit}}
1175
+ \newcommand {\StInit } {\state {StInit}}
1176
+ \newcommand {\MsgInit } { \msg {MsgInit}}
1177
1177
\newcommand {\StTxIdsBlocking } {\state {StTxIdsBlocking}}
1178
1178
\newcommand {\StTxIdsNonBlocking } {\state {StTxIdsNonBlocking}}
1179
1179
\newcommand {\StTxs } {\state {StTxs}}
1180
- \newcommand {\MsgRequestTxIdsNB } {\trans {MsgRequestTxIdsNonBlocking}}
1181
- \newcommand {\MsgRequestTxIdsB } {\trans {MsgRequestTxIdsBlocking}}
1182
- \newcommand {\MsgReplyTxIds } {\trans {MsgReplyTxIds}}
1183
- \newcommand {\MsgRequestTxs } {\trans {MsgRequestTxs}}
1184
- \newcommand {\MsgReplyTxs } {\trans {MsgReplyTxs}}
1180
+ \newcommand {\MsgRequestTxIdsNB } {\msg {MsgRequestTxIdsNonBlocking}}
1181
+ \newcommand {\MsgRequestTxIdsB } {\msg {MsgRequestTxIdsBlocking}}
1182
+ \newcommand {\MsgReplyTxIds } {\msg {MsgReplyTxIds}}
1183
+ \newcommand {\MsgRequestTxs } {\msg {MsgRequestTxs}}
1184
+ \newcommand {\MsgReplyTxs } {\msg {MsgReplyTxs}}
1185
1185
1186
1186
\subsubsection {Description }
1187
1187
The node-to-node transaction submission protocol is used to transfer
@@ -1235,12 +1235,12 @@ \subsection{State machine}
1235
1235
\paragraph {Protocol messages }
1236
1236
\begin {description }
1237
1237
\item [\MsgInit ] initial message of the protocol
1238
- \item [\MsgRequestTxIdsB {} {\boldmath $ (ack,req)$ }]
1239
- The server asks for new transaction ids and acknowledges old ids.
1240
- The client will block until new transactions are available.
1241
1238
\item [\MsgRequestTxIdsNB {} {\boldmath $ (ack,req)$ }]
1242
1239
The server asks for new transaction ids and acknowledges old ids.
1243
1240
The client immediately replies (possibly with an empty list).
1241
+ \item [\MsgRequestTxIdsB {} {\boldmath $ (ack,req)$ }]
1242
+ The server asks for new transaction ids and acknowledges old ids.
1243
+ The client will block until new transactions are available.
1244
1244
\item [\MsgReplyTxIds {} {\boldmath ($ \langle (id, size) \rangle $ ) }]
1245
1245
The client replies with a list of available transactions.
1246
1246
The list contains pairs of transaction ids and the corresponding size of the transaction in bytes.
@@ -1258,13 +1258,13 @@ \subsection{State machine}
1258
1258
\begin {tabular }{l|l|l|l}
1259
1259
\header {from state} & \header {message} & \header {parameters} & \header {to state} \\\hline
1260
1260
\StInit & \MsgInit & & \StIdle \\
1261
- \StIdle & \MsgRequestTxIdsB & $ ack$ ,$ req$ & \StTxIdsBlocking \\
1262
- \StTxIdsBlocking & \MsgReplyTxIds & $ \langle (id, size) \rangle $ & \StIdle \\
1263
1261
\StIdle & \MsgRequestTxIdsNB & $ ack$ ,$ req$ & \StTxIdsNonBlocking \\
1262
+ \StIdle & \MsgRequestTxIdsB & $ ack$ ,$ req$ & \StTxIdsBlocking \\
1264
1263
\StTxIdsNonBlocking & \MsgReplyTxIds & $ \langle (id, size) \rangle $ & \StIdle \\
1264
+ \StTxIdsBlocking & \MsgReplyTxIds & $ \langle (id, size) \rangle $ & \StIdle \\
1265
1265
\StIdle & \MsgRequestTxs & $ \langle ids \rangle $ & \StTxs \\
1266
1266
\StTxs & \MsgReplyTxs & $ \langle txs \rangle $ & \StIdle \\
1267
- \MsgRequestTxIdsB & \MsgDone & & \StDone \\
1267
+ \StIdle & \MsgDone & & \StDone \\
1268
1268
\end {tabular }
1269
1269
\caption {Tx-Submission mini-protocol (version 2) messages.}
1270
1270
\end {table }
0 commit comments