From d179cd9758c0305300757ae6fa7eb9dc6d781223 Mon Sep 17 00:00:00 2001 From: Semisol <45574030+Semisol@users.noreply.github.com> Date: Tue, 24 Jan 2023 21:48:54 +0300 Subject: [PATCH] NIP-33: `d` tag requirements --- 33.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/33.md b/33.md index 4ebabc4..6b05bd0 100644 --- a/33.md +++ b/33.md @@ -10,6 +10,8 @@ This NIP adds a new event range that allows for replacement of events that have Implementation -------------- +The value of a tag is defined as the first parameter of a tag after the tag name. + A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`. Upon a parameterized replaceable event with a newer timestamp than the currently known latest replaceable event with the same kind and first `d` tag value being received, the old event @@ -26,6 +28,8 @@ replace each other: * `"tags":[["e"]]`: same as no tags * `"tags":[["d","test","1"]]`: only the value is considered (`test`) +Clients SHOULD NOT use `d` tags with multiple values and SHOULD include the `d` tag even if it has no value to allow querying using the `#d` filter. + Client Behavior ---------------