An event must always be based exactly on one previous event. This can be done, by including the hash of the previous event into the current one. In the client DB as well as the server DB we want to have a counter in the DB so we can retrieve them in the correct order.