summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-14 11:22:29 -0500
committerSam Anthony <sam@samanthony.xyz>2024-11-14 11:22:29 -0500
commit9125463c75c7eab851f6a281d71c625c7c8454ff (patch)
tree47c188844a024ed6c4dc9201347126757d02a8fe /doc
parent38077cf6f25cb345092638fadcc3afce82898936 (diff)
downloadsoen423-9125463c75c7eab851f6a281d71c625c7c8454ff.zip
reliable multicast pseudocode: remove sequence number
Diffstat (limited to 'doc')
-rw-r--r--doc/trans.pseudo6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/trans.pseudo b/doc/trans.pseudo
index cf3e6b9..0bfcd43 100644
--- a/doc/trans.pseudo
+++ b/doc/trans.pseudo
@@ -6,7 +6,6 @@
type m struct {
id mid
sender pid
- seq int // sequence number
positiveAcks []mid
negativeAcks []mid
data
@@ -64,11 +63,6 @@ recv(m) {
insert(mid, negativeAcks)
}
}
-
- acks := union(positiveAcks, negativeAcks)
- if t.e. ack in acks s.t. sender(ack) == sender(m) && m.seq > ack.seq+1 {
- insert(m.id, negativeAcks)
- }
}
retransmit() {