upleb.uk

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

summaryrefslogtreecommitdiff
path: root/09.md
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2023-06-16 01:23:40 +0200
committerGitHub <noreply@github.com>2023-06-15 20:23:40 -0300
commit58f1667479c94011350d15a0c0d9058a86980c71 (patch)
treecf47af3b2d5c8d3d73530fba0dff4f3985a749c7 /09.md
parent3331b5610c42218aa2bc285282b71dfafc13a877 (diff)
NIP-09: Add `a` tag deletion (#600)
Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
Diffstat (limited to '09.md')
-rw-r--r--09.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/09.md b/09.md
index a73e0ab..9dab90f 100644
--- a/09.md
+++ b/09.md
@@ -8,7 +8,7 @@ Event Deletion
8 8
9A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted. 9A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted.
10 10
11Each tag entry must contain an "e" event id intended for deletion. 11Each tag entry must contain an "e" event id and/or NIP-33 `a` tags intended for deletion.
12 12
13The event's `content` field MAY contain a text note describing the reason for the deletion. 13The event's `content` field MAY contain a text note describing the reason for the deletion.
14 14
@@ -20,7 +20,8 @@ For example:
20 "pubkey": <32-bytes hex-encoded public key of the event creator>, 20 "pubkey": <32-bytes hex-encoded public key of the event creator>,
21 "tags": [ 21 "tags": [
22 ["e", "dcd59..464a2"], 22 ["e", "dcd59..464a2"],
23 ["e", "968c5..ad7a4"] 23 ["e", "968c5..ad7a4"],
24 ["a", "<kind>:<pubkey>:<d-identifier>"]
24 ], 25 ],
25 "content": "these posts were published by accident", 26 "content": "these posts were published by accident",
26 ...other fields 27 ...other fields