upleb.uk

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

summaryrefslogtreecommitdiff
path: root/33.md
diff options
context:
space:
mode:
Diffstat (limited to '33.md')
-rw-r--r--33.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/33.md b/33.md
index db572ad..4ebabc4 100644
--- a/33.md
+++ b/33.md
@@ -10,10 +10,10 @@ This NIP adds a new event range that allows for replacement of events that have
10 10
11Implementation 11Implementation
12-------------- 12--------------
13A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`. 13A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`.
14Upon a parameterized replaceable event with a newer timestamp than the currently known latest 14Upon a parameterized replaceable event with a newer timestamp than the currently known latest
15replaceable event with the same kind and first `d` tag value being received, the old event 15replaceable event with the same kind and first `d` tag value being received, the old event
16SHOULD be discarded and replaced with the newer event. 16SHOULD be discarded and replaced with the newer event.
17A missing or a `d` tag with no value should be interpreted equivalent to a `d` tag with the 17A missing or a `d` tag with no value should be interpreted equivalent to a `d` tag with the
18value as an empty string. Events from the same author with any of the following `tags` 18value as an empty string. Events from the same author with any of the following `tags`
19replace each other: 19replace each other:
@@ -24,6 +24,7 @@ replace each other:
24* `"tags":[["d",""],["d","not empty"]]`: only first `d` tag is considered 24* `"tags":[["d",""],["d","not empty"]]`: only first `d` tag is considered
25* `"tags":[["d"],["d","some value"]]`: only first `d` tag is considered 25* `"tags":[["d"],["d","some value"]]`: only first `d` tag is considered
26* `"tags":[["e"]]`: same as no tags 26* `"tags":[["e"]]`: same as no tags
27* `"tags":[["d","test","1"]]`: only the value is considered (`test`)
27 28
28Client Behavior 29Client Behavior
29--------------- 30---------------