You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depth should be max(previous_events.depth) + 1, otherwise we could suffer from the same attacks that Synapse received recently where the depth was escalated to the maximum supported by postgres.
Rather than trusting federated depth as Synapse currently does, the current proposal is to make a best guess estimate of what the depth should be on arrival which is tracked in the proposal document linked:
Depth should bemax(previous_events.depth) + 1
, otherwise we could suffer from the same attacks that Synapse received recently where the depth was escalated to the maximum supported by postgres.Rather than trusting federated depth as Synapse currently does, the current proposal is to make a best guess estimate of what the depth should be on arrival which is tracked in the proposal document linked:
https://docs.google.com/document/d/16ofbjluy8ZKYL6nt7WLHG4GqSodJUWLUxHhI6xPEjr4
The text was updated successfully, but these errors were encountered: