upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--16.md4
-rw-r--r--33.md6
2 files changed, 7 insertions, 3 deletions
diff --git a/16.md b/16.md
index 80a6b3d..4d9481d 100644
--- a/16.md
+++ b/16.md
@@ -16,7 +16,9 @@ Upon a regular event being received, the relay SHOULD send it to all clients wit
16Replaceable Events 16Replaceable Events
17------------------ 17------------------
18A *replaceable event* is defined as an event with a kind `10000 <= n < 20000`. 18A *replaceable event* is defined as an event with a kind `10000 <= n < 20000`.
19Upon a replaceable event with a newer timestamp than the currently known latest replaceable event with the same kind being received, and signed by the same key, the old event SHOULD be discarded and replaced with the newer event. 19Upon a replaceable event with a newer timestamp than the currently known latest replaceable event with the same kind and author being received, the old event SHOULD be discarded,
20effectively replacing what gets returned when querying for
21`author:kind` tuples.
20 22
21Ephemeral Events 23Ephemeral Events
22---------------- 24----------------
diff --git a/33.md b/33.md
index 60f3da6..10681fa 100644
--- a/33.md
+++ b/33.md
@@ -14,8 +14,10 @@ The value of a tag is defined as the first parameter of a tag after the tag name
14 14
15A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`. 15A *parameterized replaceable event* is defined as an event with a kind `30000 <= n < 40000`.
16Upon a parameterized replaceable event with a newer timestamp than the currently known latest 16Upon a parameterized replaceable event with a newer timestamp than the currently known latest
17replaceable event with the same kind and first `d` tag value being received, the old event 17replaceable event with the same kind, author and first `d` tag value being received, the old event
18SHOULD be discarded and replaced with the newer event. 18SHOULD be discarded, effectively replacing what gets returned when querying for
19`author:kind:d-tag` tuples.
20
19A missing or a `d` tag with no value should be interpreted equivalent to a `d` tag with the 21A missing or a `d` tag with no value should be interpreted equivalent to a `d` tag with the
20value as an empty string. Events from the same author with any of the following `tags` 22value as an empty string. Events from the same author with any of the following `tags`
21replace each other: 23replace each other: