mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Update NIP-01 to clarify since and until filters
The since and until filters does not clarify integer format and some relays fail to recognize filters with a float based timestamp.
This commit is contained in:
parent
d82599bc7f
commit
8362ff8f79
4
01.md
4
01.md
|
@ -66,8 +66,8 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
|
||||||
"kinds": <a list of a kind numbers>,
|
"kinds": <a list of a kind numbers>,
|
||||||
"#e": <a list of event ids that are referenced in an "e" tag>,
|
"#e": <a list of event ids that are referenced in an "e" tag>,
|
||||||
"#p": <a list of pubkeys that are referenced in a "p" tag>,
|
"#p": <a list of pubkeys that are referenced in a "p" tag>,
|
||||||
"since": <a timestamp, events must be newer than this to pass>,
|
"since": <an integer unix timestamp, events must be newer than this to pass>,
|
||||||
"until": <a timestamp, events must be older than this to pass>,
|
"until": <an integer unix timestamp, events must be older than this to pass>,
|
||||||
"limit": <maximum number of events to be returned in the initial query>
|
"limit": <maximum number of events to be returned in the initial query>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user