Skip to content

Commit 85cef2c

Browse files
committed
remove cluster
1 parent 484ccbb commit 85cef2c

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

standards/core/sync.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ At this point lists of message _IDs_ are sent for comparison
3636
instead 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.
4141
2. The range is encoded into a payload and sent.
4242
3. The requestee receives the payload and decodes it.
4343
4. 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
123123
The 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.
187183
What will follow is NOT part of the specification.
188184
This 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
195191
Two useful parameters to add to your implementation are partitioning count and the item set threshold.

0 commit comments

Comments
 (0)