Skip to content

Commit 62aae51

Browse files
committed
fix: fix implementation guide, remove unrelated claude file
1 parent 211a4da commit 62aae51

File tree

3 files changed

+12
-500
lines changed

3 files changed

+12
-500
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

SDS-R-Implementation-Guide.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,23 @@ When a participant detects missing messages (via causal dependencies), it waits
1616
message HistoryEntry {
1717
string message_id = 1;
1818
optional bytes retrieval_hint = 2;
19-
optional string sender_id = 3; // NEW: Original sender's ID (only for SDS-R)
19+
optional string sender_id = 3; // NEW: Participant ID of original message sender (only for SDS-R)
2020
}
2121
22-
message Message {
23-
string sender_id = 1;
24-
string message_id = 2;
25-
string channel_id = 3;
26-
optional int32 lamport_timestamp = 10;
27-
repeated HistoryEntry causal_history = 11;
28-
optional bytes bloom_filter = 12;
29-
repeated HistoryEntry repair_request = 13; // NEW: List of missing messages
30-
optional bytes content = 20;
22+
message SdsMessage {
23+
string sender_id = 1; // Participant ID of the message sender
24+
string message_id = 2; // Unique identifier of the message
25+
string channel_id = 3; // Identifier of the channel to which the message belongs
26+
optional uint64 lamport_timestamp = 10; // Logical timestamp for causal ordering in channel
27+
repeated HistoryEntry causal_history = 11; // List of preceding message IDs that this message causally depends on
28+
optional bytes bloom_filter = 12; // Bloom filter representing received message IDs in channel
29+
repeated HistoryEntry repair_request = 13; // NEW: Capped list of missing messages (only for SDS-R)
30+
optional bytes content = 20; // Actual content of the message
3131
}
3232
```
3333

34+
**Note**: The actual implementation uses `SdsMessage` (not `Message`) and `uint64` for lamport_timestamp (not `int32`).
35+
3436
### Additional Participant State
3537

3638
Each participant must maintain:

0 commit comments

Comments
 (0)