From 5b9920982ae1f4061328c1b09a90360da28d13c8 Mon Sep 17 00:00:00 2001 From: Takuya Date: Thu, 24 Sep 2026 02:16:05 +0900 Subject: [PATCH] NIP-86: Add unallow/unban event and list methods (#2477) --- 86.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/86.md b/86.md index ffc4423e..48af8e5a 100644 --- a/86.md +++ b/86.md @@ -70,12 +70,21 @@ This is the list of **methods** that may be supported: * `allowevent`: - params: `["<32-byte-hex-event-id>", ""]` - result: `true` (a boolean always set to `true`) +* `unallowevent`: + - params: `["<32-byte-hex-event-id>", ""]` + - result: `true` (a boolean always set to `true`) * `banevent`: - params: `["<32-byte-hex-event-id>", ""]` - result: `true` (a boolean always set to `true`) +* `unbanevent`: + - params: `["<32-byte-hex-event-id>", ""]` + - result: `true` (a boolean always set to `true`) * `listbannedevents`: - params: `[]` - result: `[{"id": "<32-byte hex>", "reason": ""}, ...]`, an array of objects +* `listallowedevents`: + - params: `[]` + - result: `[{"id": "<32-byte-hex>", "reason": ""}, ...]`, an array of objects * `changerelayname`: - params: `[""]` - result: `true` (a boolean always set to `true`) @@ -94,6 +103,9 @@ This is the list of **methods** that may be supported: * `listallowedkinds`: - params: `[]` - result: `[, ...]`, an array of numbers +* `listdisallowedkinds`: + - params: `[]` + - result: `[, ...]`, an array of numbers * `blockip`: - params: `["", ""]` - result: `true` (a boolean always set to `true`)