mirror of
https://github.com/vacp2p/rfc-index.git
synced 2026-01-08 23:28:15 -05:00
docs: clarify receiving sync messages (#131)
Minor adds to "Receive message" procedure to reflect changes introduced in https://github.com/vacp2p/rfc-index/pull/129
This commit is contained in:
@@ -151,13 +151,14 @@ Upon receiving a message,
|
|||||||
* the participant MUST [review the ACK status](#review-ack-status) of messages
|
* the participant MUST [review the ACK status](#review-ack-status) of messages
|
||||||
in its unacknowledged outgoing buffer
|
in its unacknowledged outgoing buffer
|
||||||
using the received message's causal history and bloom filter.
|
using the received message's causal history and bloom filter.
|
||||||
* the participant MUST include the received message ID in its local bloom filter.
|
* if the message has a populated `content` field,
|
||||||
|
the participant MUST include the received message ID in its local bloom filter.
|
||||||
* the participant MUST verify that all causal dependencies are met
|
* the participant MUST verify that all causal dependencies are met
|
||||||
for the received message.
|
for the received message.
|
||||||
Dependencies are met if the message IDs in the `causal_history` of the received message
|
Dependencies are met if the message IDs in the `causal_history` of the received message
|
||||||
appear in the local history of the receiving participant.
|
appear in the local history of the receiving participant.
|
||||||
|
|
||||||
If all dependencies are met,
|
If all dependencies are met and the message has a populated `content` field,
|
||||||
the participant MUST [deliver the message](#deliver-message).
|
the participant MUST [deliver the message](#deliver-message).
|
||||||
If dependencies are unmet,
|
If dependencies are unmet,
|
||||||
the participant MUST add the message to the incoming buffer of messages
|
the participant MUST add the message to the incoming buffer of messages
|
||||||
|
|||||||
Reference in New Issue
Block a user