@@ -36,8 +36,8 @@ At this point lists of message _IDs_ are sent for comparison
3636instead of _ fingerprints_ over entire ranges of messages.
3737
3838#### Overview
39- The ` reconciliation ` protocol operates on the following heuristic:
40- 1 . The requestor chooses a sync range including time, cluster id, pubsub and content topics.
39+ The ` reconciliation ` protocol operate on the following heuristic:
40+ 1 . The requestor chooses a sync range including time, id, pubsub and content topics.
41412 . The range is encoded into a payload and sent.
42423 . The requestee receives the payload and decodes it.
43434 . The range is processed and, if a difference with the local range is detected, a set of subranges are produced.
@@ -122,27 +122,23 @@ All _varints_ MUST be little-endian base 128 variable length integers (LEB128) a
122122#### Payload encoding
123123The wire level payload MUST be encoded as follow.
124124
125- > Refer to [ RELAY-SHARDING] ( https://github.com/waku-org/specs/blob/master/standards/core/relay-sharding.md#static-sharding )
126- RFC for cluster and shard specification.
127-
128125> Please note that for each steps, bytes are concatenated.
129126
130- 1 . _ Varint_ bytes of the node's cluster ID
131- 2 . _ Varint_ bytes of the number of pubsub topics
132- 3 . For each pubsub topic, if any
127+ 1 . _ Varint_ bytes of the number of pubsub topics
128+ 2 . For each pubsub topic, if any
133129
134130 a. _ varint_ bytes of the pubsub topic length
135131
136132 b. bytes content of the pubsub topic
137133
138- 4 . _ Varint_ bytes of the number of content topics
139- 5 . For each content topic, if any
134+ 3 . _ Varint_ bytes of the number of content topics
135+ 4 . For each content topic, if any
140136
141137 a. _ varint_ bytes of the content topic length
142138
143139 b. bytes content of the content topic
144140
145- 6 . For each range
141+ 5 . For each range
146142
147143 a. _ varint_ bytes of the delta encoded timestamp
148144
@@ -187,9 +183,9 @@ The flexibility of the protocol implies that much is left to the implementers.
187183What will follow is NOT part of the specification.
188184This section was created to inform implementations.
189185
190- #### Cluster, Pubsub and Content Topics
191- To prevent nodes from synchronizing messages from cluster, pubsub and content topics they don't support,
192- cluster and topic information is added to each payload.
186+ #### Pubsub and Content Topics
187+ To prevent nodes from synchronizing messages from pubsub and content topics they don't support,
188+ topic information is added to each payload.
193189
194190#### Parameters
195191Two useful parameters to add to your implementation are partitioning count and the item set threshold.
0 commit comments