Auth chains

This commit is contained in:
Erik Johnston 2015-01-12 15:05:02 +00:00
parent f993c30a11
commit e0a9328432

View file

@ -132,6 +132,20 @@ it serves to remote servers.
We probably should probably give a lower band of how long auth events
should be kept around for.
Auth chain
~~~~~~~~~~
The *auth chain* for an event is the recursive list of auth events and the auth
chain for those auth events.
The auth chain for event gives all the information a server needs to accept an
event. However, being given an auth chain for an event that appears valid does
not mean that the event might later be rejected. For example if we discover
that the sender had been banned between the join event listed in the auth
events and the event being authed.
**TODO**: Clean the above explanations up a bit.
Definitions
~~~~~~~~~~~