Skip to main content

compare_shadow

Function compare_shadow 

Source
pub(super) fn compare_shadow(
    room_id: &RoomId,
    event_id: &EventId,
    local: &HashMap<ShortStateKey, OwnedEventId>,
    fetched: &HashMap<ShortStateKey, OwnedEventId>,
)
Expand description

Diff a shadow-mode local build against the authoritative fetched state. Divergence is neutral on which side is wrong; the soak analysis decides.