adjustment in the text

This commit is contained in:
Vitor Pamplona 2023-10-16 15:57:25 -04:00
parent 977f2282a9
commit 6536047d33

6
29.md
View File

@ -15,7 +15,7 @@ Clients that keep a local database (either in memory or in disk) wish to update
### Sync Protocol ### 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: Request:
```js ```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: Response:
```js ```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 ### Weekly Hash calculation