Skip to main content

Module resolve

Module resolve 

Source

Modulesยง

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

Structsยง

AuthSet
Full recursive auth chain for one candidate StateMap.

Functionsยง

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

Type Aliasesยง

ConflictMap
Conflicting event ids for each contested state key.
ConflictVec ๐Ÿ”’
Event ids contesting one state key.
ConflictedSet ๐Ÿ”’
The full conflicted set (arbitrary order).
StateMap
A mapping of event type and state_key to some value T, usually an EventId.