Skip to main content

Module resolve

Module resolve 

Source

Modulesยง

auth_difference ๐Ÿ”’
conflicted_subgraph ๐Ÿ”’
iterative_auth_check ๐Ÿ”’
mainline_sort ๐Ÿ”’
power_sort ๐Ÿ”’
split_conflicted ๐Ÿ”’

Functionsยง

full_conflicted_set ๐Ÿ”’
resolve
Apply the state resolution algorithm introduced in room version 2 to resolve the state of a room.

Type Aliasesยง

AuthSet
Full recursive set of auth_events for each event in a StateMap.
ConflictMap
ConflictMap of OwnedEventId specifically.
ConflictVec ๐Ÿ”’
List of conflicting event_ids
StateMap
A mapping of event type and state_key to some value T, usually an EventId.