From 9c4616c6815187902a063689d2f1593c2cf0f895 Mon Sep 17 00:00:00 2001 From: Ben Franks <benjamin@gofranks.com> Date: Wed, 25 Jan 2023 17:10:03 +0000 Subject: [PATCH] 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. --- 01.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01.md b/01.md index 38ba2904..e1e94447 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 "kinds": <a list of a kind numbers>, "#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>, - "since": <a timestamp, events must be newer than this to pass>, - "until": <a timestamp, events must be older than this to pass>, + "since": <an integer unix timestamp, events must be newer 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> } ```