Conflicted state set is a set of events (#1120)

In #1042 I incorrectly wrote that the conflicted state set is a set of
pairs (K, V). We later take the union of the conflicted state set and
the auth difference. The latter is a set of events (V) only.

Fix this by making the conflicted state set a set of events rather than
a set of pairs. That is, the conflicted state set is a a `Set[Event]`
instead of a `Set[((type, state key), event)]`.
This commit is contained in:
David Robertson 2022-06-14 17:07:16 +01:00 committed by GitHub
parent cbdd889fa8
commit 580be61df7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1 @@
Improve readability and understanding of the state resolution algorithms.