You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec-proposals/api/server-server/definitions
Travis Ralston 42ae5c966a Clarify the limits of prev_events and auth_events
Fixes https://github.com/matrix-org/matrix-doc/issues/2307

These restrictions are due to a Synapse change which never made it to the spec prior to the MSC process. This is therefore documenting an omission.

Synapse's numbers are verified here: 207b1737ee/synapse/handlers/federation.py (L1183-L1213)

... and Synapse's handling of the backfill endpoint is described here: 207b1737ee/synapse/handlers/federation.py (L829-L837)

This also includes a mention that https://github.com/matrix-org/matrix-doc/pull/1594 should render the `auth_events` limitation unnecessary. 

No changes are required to the the "checks on receipt of a PDU" section of the server-server spec as it starts with "must be a valid event", to which an event is invalid if it contains too many prev or auth events.
4 years ago
..
event-schemas remove unused schema defs 6 years ago
edu.yaml Remove unused origin and destination on EDUs 6 years ago
invite_event.yaml The event *format* changes, not the version 6 years ago
keys.yaml correct use of required annotation in json-schema 4 years ago
keys_query_response.yaml Improve the server key exchange portion of the s2s specification 6 years ago
pdu.yaml Clarifications and bug fixes in how v3 rooms work 6 years ago
pdu_v3.yaml Clarify the limits of prev_events and auth_events 4 years ago
pdu_v4.yaml Clarify the limits of prev_events and auth_events 4 years ago
security.yaml Define authorization requirements on federation swagger APIs 6 years ago
single_pdu_transaction.yaml Clarify how many PDUs are in a given transaction object 5 years ago
transaction.yaml The event *format* changes, not the version 6 years ago
unlimited_pdu_transaction.yaml Clarify how many PDUs are in a given transaction object 5 years ago
unsigned_pdu.yaml Add specification for room version 3: Event IDs as hashes 6 years ago
unsigned_pdu_base.yaml Clarify the limits of prev_events and auth_events 4 years ago