mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-12 23:19:08 -05:00
adjustment in the text
This commit is contained in:
parent
977f2282a9
commit
6536047d33
6
29.md
6
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user