mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-10 06:09:08 -05:00
Fixes formatting
This commit is contained in:
parent
f93015b70b
commit
b11fb1851b
5
29.md
5
29.md
|
@ -16,8 +16,8 @@ Request:
|
|||
```js
|
||||
[
|
||||
"HASH-REQ",
|
||||
<subscription ID string>,
|
||||
"<WINDOW-SIZE>"
|
||||
"<subscription ID string>",
|
||||
"<WINDOW-SIZE>"
|
||||
<nostr filter>, <nostr filter2>, <nostr filter3>
|
||||
]
|
||||
```
|
||||
|
@ -40,6 +40,7 @@ Response:
|
|||
"<TRUNCATED_CREATED_AT>",
|
||||
"<SHA256(JSON.stringify([event1.id, event2.id, event3.id, ...])) in hex>"
|
||||
]
|
||||
```
|
||||
|
||||
The peer then compares the receiving hashes with those stored locally and, if different, creates a new filter to either refine the window size OR to download all events within the missing window.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user