upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/01.md
diff options
context:
space:
mode:
authorBen Franks <benjamin@gofranks.com>2023-01-25 17:10:03 +0000
committerfiatjaf <fiatjaf@gmail.com>2023-01-25 14:21:52 -0300
commit8362ff8f79d913ac1dfded9668cd31dcc8c73f22 (patch)
tree4377b7463894f3e8be7c81ecf9ba9132d9c44741 /01.md
parentd82599bc7f894a175174014d3afc44e428ecb99d (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.
Diffstat (limited to '01.md')
-rw-r--r--01.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/01.md b/01.md
index 38ba290..e1e9444 100644
--- a/01.md
+++ b/01.md
@@ -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```