diff options
| author | Ben Franks <benjamin@gofranks.com> | 2023-01-25 17:10:03 +0000 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-01-25 14:21:52 -0300 |
| commit | 8362ff8f79d913ac1dfded9668cd31dcc8c73f22 (patch) | |
| tree | 4377b7463894f3e8be7c81ecf9ba9132d9c44741 | |
| parent | d82599bc7f894a175174014d3afc44e428ecb99d (diff) | |
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.
| -rw-r--r-- | 01.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -66,8 +66,8 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th | |||
| 66 | "kinds": <a list of a kind numbers>, | 66 | "kinds": <a list of a kind numbers>, |
| 67 | "#e": <a list of event ids that are referenced in an "e" tag>, | 67 | "#e": <a list of event ids that are referenced in an "e" tag>, |
| 68 | "#p": <a list of pubkeys that are referenced in a "p" tag>, | 68 | "#p": <a list of pubkeys that are referenced in a "p" tag>, |
| 69 | "since": <a timestamp, events must be newer than this to pass>, | 69 | "since": <an integer unix timestamp, events must be newer than this to pass>, |
| 70 | "until": <a timestamp, events must be older than this to pass>, | 70 | "until": <an integer unix timestamp, events must be older than this to pass>, |
| 71 | "limit": <maximum number of events to be returned in the initial query> | 71 | "limit": <maximum number of events to be returned in the initial query> |
| 72 | } | 72 | } |
| 73 | ``` | 73 | ``` |