diff --git a/29.md b/29.md index e275b138..2496989d 100644 --- a/29.md +++ b/29.md @@ -15,7 +15,7 @@ Clients that keep a local database (either in memory or in disk) wish to update ### Sync Protocol -The client sends a `WEEKLY-HASHES` message to the relay with a subscription ID and appropriate filters for the content to be checked. +The client sends a `WEEKLY-HASHES` message to the relay with a subscription ID and appropriate filters for the content to be synced. Request: ```js @@ -26,7 +26,7 @@ Request: ] ``` -The relay calculates weekly hashs and responds with a sequence of +The relay calculates the weekly hashes and responds with an EOSE-ended sequence of Response: ```js @@ -38,7 +38,7 @@ Response: ] ``` -Compare the receiving hashes with those stored locally and if different create the filter to download all events from that week (in GMT) again. +The client then compares the receiving hashes with those stored locally and, if different, creates the filter to download all events from that week (in GMT) again. ### Weekly Hash calculation