Skip to content

Commit 9ab07f3

Browse files
committed
simulation: network-spec: refinement of catchup
1 parent df5d962 commit 9ab07f3

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

simulation/docs/network-spec/miniprotocols.tex

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ \section{\relay{} mini-protocol}
2828
\label{ptcl:relay}
2929

3030
\newcommand{\StInit} {\state{StInit}}
31-
\newcommand{\MsgInit} {\trans{MsgInit}}
31+
\newcommand{\MsgInit} {\msg{MsgInit}}
3232
\newcommand{\StIdsBlocking} {\state{StIdsBlocking}}
3333
\newcommand{\StIdsNonBlocking} {\state{StIdsNonBlocking}}
3434
\newcommand{\StData} {\state{StData}}
35-
\newcommand{\MsgRequestIdsNB} {\trans{MsgRequestIdsNonBlocking}}
36-
\newcommand{\MsgRequestIdsB} {\trans{MsgRequestIdsBlocking}}
37-
\newcommand{\MsgReplyIds} {\trans{MsgReplyIds}}
38-
\newcommand{\MsgReplyIdsAndAnns} {\trans{MsgReplyIdsAndAnns}}
39-
\newcommand{\MsgReplyIdsSlashAnns} {\trans{MsgReplyIds\langle AndAnns\rangle}}
40-
\newcommand{\MsgRequestData} {\trans{MsgRequestData}}
41-
\newcommand{\MsgReplyData} {\trans{MsgReplyData}}
35+
\newcommand{\MsgRequestIdsNB} {\msg{MsgRequestIdsNonBlocking}}
36+
\newcommand{\MsgRequestIdsB} {\msg{MsgRequestIdsBlocking}}
37+
\newcommand{\MsgReplyIds} {\msg{MsgReplyIds}}
38+
\newcommand{\MsgReplyIdsAndAnns} {\msg{MsgReplyIdsAndAnns}}
39+
\newcommand{\MsgReplyIdsSlashAnns} {\msg{MsgReplyIds\langle AndAnns\rangle}}
40+
\newcommand{\MsgRequestData} {\msg{MsgRequestData}}
41+
\newcommand{\MsgReplyData} {\msg{MsgReplyData}}
4242
\newcommand{\option}[1]{\text{#1}}
4343
\newcommand{\BoundedWindow} {\option{BoundedWindow}}
4444
\newcommand{\Announcements} {\option{Announcements}}
@@ -443,10 +443,10 @@ \subsection{Description}
443443
blocks referenced by the chain. These will typically be too old to be
444444
diffused by the \relay{} and \fetch{} mini protocols, but are still
445445
relevant to reconstruct the ledger state. Additionally it covers
446-
certified EBs which are still recent enough for inclusion in a future
447-
ranking block, and any blocks they reference. This data, together with
448-
the base chain, is what is needed for a node to participate in future
449-
pipelines.
446+
certified EBs not yet in the chain but which are still recent enough
447+
for inclusion in a future ranking block, and any blocks they
448+
reference. This data, together with the base chain, is what is needed
449+
for a node to participate in future pipelines.
450450

451451
The protocol should allow the consumer to divide the requests between
452452
different producers, and for the producer to have an efficient way to
@@ -474,6 +474,8 @@ \subsection{Description}
474474
same EB across different peers.
475475
\end{description}
476476
\todo{Another option for IBs could be a list of refs and a slot range. The refs come from EB bodies, and the slot range can be calculated from the slot of the EB.}
477+
\todo{The \emph{IBs by EB \point{}, and \slot{} range} request could be replaced by just a list of IB \point{}s, if IB references are augmented with the slot.}
478+
\todo{The \emph{EBs by RB \rbrange{}} request could similarly be a list of EB \point{}s instead, if EB refs in RBs and EBs contain slot, and let the consumer discover referenced EBs it needs as it fetches the one it knows about.}
477479

478480
\paragraph{Definition} The \catchup{} protocol is defined as a new instance of the \fetch{} protocol. We give the parameters as a grammar
479481
\[

0 commit comments

Comments
 (0)