matrix-doc/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.
2020-05-12 19:02:39 -06:00
..
event-schemas remove unused schema defs 2019-01-30 11:43:30 +00:00
edu.yaml Remove unused origin and destination on EDUs 2018-08-08 07:43:22 -06:00
invite_event.yaml The event *format* changes, not the version 2019-02-01 13:19:24 -07:00
keys.yaml correct use of required annotation in json-schema 2020-05-06 17:10:39 +01:00
keys_query_response.yaml Improve the server key exchange portion of the s2s specification 2018-07-26 08:41:00 -06:00
pdu.yaml Clarifications and bug fixes in how v3 rooms work 2019-01-31 16:44:37 -07:00
pdu_v3.yaml Clarify the limits of prev_events and auth_events 2020-05-12 19:02:39 -06:00
pdu_v4.yaml Clarify the limits of prev_events and auth_events 2020-05-12 19:02:39 -06:00
security.yaml Define authorization requirements on federation swagger APIs 2018-08-09 08:37:35 -06:00
single_pdu_transaction.yaml Clarify how many PDUs are in a given transaction object 2019-06-06 14:36:30 -06:00
transaction.yaml The event *format* changes, not the version 2019-02-01 13:19:24 -07:00
unlimited_pdu_transaction.yaml Clarify how many PDUs are in a given transaction object 2019-06-06 14:36:30 -06:00
unsigned_pdu.yaml Add specification for room version 3: Event IDs as hashes 2019-01-30 17:03:03 -07:00
unsigned_pdu_base.yaml Clarify the limits of prev_events and auth_events 2020-05-12 19:02:39 -06:00