Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base replication stop on group tangle #19

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,9 @@ Section 3.2.2.
the following fields in the message `content`:
* 4.1.4.A. `type` equals the string `group/exclude`
* 4.1.4.B. `excludes` is an array of objects with the shape
`{id, groupFeedId, sequence}` where `id` is the root metafeed ID of `c`,
`groupFeedId` is `Gc`'s ID, and `sequence` is the sequence number of the last
message `a` possesses from `Gc`. In this case `c` is the only excluded
member, so we only have one `{id, groupFeedId, sequence}` object but Section
`{id, groupFeedId}` where `id` is the root metafeed ID of `c` and
`groupFeedId` is `Gc`'s ID. In this case `c` is the only excluded
member, so we only have one `{id, groupFeedId}` object but Section
4.1. also supports excluding multiple members at once.
* 4.1.4.C. `recps` is an array containing a single string: the group ID for
`G`, signalling that this message should be box2-encrypted for the group `G`
Expand Down Expand Up @@ -423,9 +422,10 @@ every epoch `X` with lower preference than `H`:

* 4.8.2.A. (Fetching excluded members) `a` SHOULD fetch messages from group
feeds `Xc` belonging to every peer `c` that was excluded from `X`, up until the
sequence number defined in 4.1.4.B., after which `a` SHOULD cease fetching `Xc`.
sequence number `SXc` defined in 4.8.2.A.A., after which `a` SHOULD cease fetching `Xc`.
In other words, `a` SHOULD NOT fetch messages from `Xc` with sequence numbers
greater than the sequence number defined in 4.1.4.B.
greater than the sequence number `SXc` defined in 4.8.2.A.A.
* 4.8.2.A.A. `R` is the set of all remaining members after the removal of `c`. `MR` is the set of all of `R`s messages in this group. `Sc(m)` is, given a message `m`, found by looking at the `previous` array in `m`'s `group` tangle, seeing if there's a message from `Xc` referred to in it, and in that case getting the sequence number of that message. `SXc` is the maximum `Sc(m)` for all messages `m` in `MR`.
* 4.8.2.B. (Fetching remaining members) `a` SHOULD continue to fetch messages
from group feeds `Xb` belonging to every remaining member `b` in `X`. See figure
9 as an example.
Expand Down