mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-25 09:45:51 -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
|
```js
|
||||||
[
|
[
|
||||||
"HASH-REQ",
|
"HASH-REQ",
|
||||||
<subscription ID string>,
|
"<subscription ID string>",
|
||||||
"<WINDOW-SIZE>"
|
"<WINDOW-SIZE>"
|
||||||
<nostr filter>, <nostr filter2>, <nostr filter3>
|
<nostr filter>, <nostr filter2>, <nostr filter3>
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
@ -40,6 +40,7 @@ Response:
|
||||||
"<TRUNCATED_CREATED_AT>",
|
"<TRUNCATED_CREATED_AT>",
|
||||||
"<SHA256(JSON.stringify([event1.id, event2.id, event3.id, ...])) in hex>"
|
"<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.
|
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