diff options
| author | Pablo Fernandez <p@f7z.io> | 2023-06-16 01:23:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-15 20:23:40 -0300 |
| commit | 58f1667479c94011350d15a0c0d9058a86980c71 (patch) | |
| tree | cf47af3b2d5c8d3d73530fba0dff4f3985a749c7 /09.md | |
| parent | 3331b5610c42218aa2bc285282b71dfafc13a877 (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.md | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -8,7 +8,7 @@ Event Deletion | |||
| 8 | 8 | ||
| 9 | A 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. | 9 | A 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 | ||
| 11 | Each tag entry must contain an "e" event id intended for deletion. | 11 | Each tag entry must contain an "e" event id and/or NIP-33 `a` tags intended for deletion. |
| 12 | 12 | ||
| 13 | The event's `content` field MAY contain a text note describing the reason for the deletion. | 13 | The 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 |