upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-01-04 10:26:08 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-01-04 10:26:08 -0300
commit4472f9bbd951db084d1ce460b8b00d7de0c5e154 (patch)
treeb11516c2250cc89dd9fc3fe0e276afeb933912bd
parent018c45966e4fbd21f26718e4ca17a9e16f36bb31 (diff)
add NIP-33 to README.
-rw-r--r--33.md6
-rw-r--r--README.md1
2 files changed, 4 insertions, 3 deletions
diff --git a/33.md b/33.md
index feb62a6..db572ad 100644
--- a/33.md
+++ b/33.md
@@ -4,7 +4,7 @@ NIP-33
4Parameterized Replaceable Events 4Parameterized Replaceable Events
5-------------------------------- 5--------------------------------
6 6
7`draft` `optional` `author:Semisol` `author:Kukks` `author:Cameri` `author:fiatjaf` 7`draft` `optional` `author:Semisol` `author:Kukks` `author:Cameri` `author:Giszmo`
8 8
9This NIP adds a new event range that allows for replacement of events that have the same `d` tag and kind unlike NIP-16 which only replaced by kind. 9This NIP adds a new event range that allows for replacement of events that have the same `d` tag and kind unlike NIP-16 which only replaced by kind.
10 10
@@ -13,7 +13,7 @@ Implementation
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:
@@ -29,4 +29,4 @@ Client Behavior
29--------------- 29---------------
30 30
31Clients SHOULD use the `supported_nips` field to learn if a relay supports this NIP. 31Clients SHOULD use the `supported_nips` field to learn if a relay supports this NIP.
32Clients MAY send parameterized replaceable events to relays that may not support this NIP, and clients querying SHOULD be prepared for the relay to send multiple events and should use the latest one and are recommended to send a `#d` tag filter. Clients should account for the fact that missing `d` tags or ones with no value are not returned in tag filters, and are recommended to always include a `d` tag with a value. 32Clients MAY send parameterized replaceable events to relays that may not support this NIP, and clients querying SHOULD be prepared for the relay to send multiple events and should use the latest one and are recommended to send a `#d` tag filter. Clients should account for the fact that missing `d` tags or ones with no value are not returned in tag filters, and are recommended to always include a `d` tag with a value.
diff --git a/README.md b/README.md
index cce4166..fa5896b 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,7 @@ NIPs stand for **Nostr Implementation Possibilities**. They exist to document wh
25- [NIP-25: Reactions](25.md) 25- [NIP-25: Reactions](25.md)
26- [NIP-26: Delegated Event Signing](26.md) 26- [NIP-26: Delegated Event Signing](26.md)
27- [NIP-28: Public Chat](28.md) 27- [NIP-28: Public Chat](28.md)
28- [NIP-33: Parameterized Replaceable Events](33.md)
28- [NIP-35: User Discovery](35.md) 29- [NIP-35: User Discovery](35.md)
29- [NIP-36: Sensitive Content](36.md) 30- [NIP-36: Sensitive Content](36.md)
30- [NIP-40: Expiration Timestamp](40.md) 31- [NIP-40: Expiration Timestamp](40.md)