upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhodlbod <jstaab@protonmail.com>2026-02-26 16:52:35 -0800
committerGitHub <noreply@github.com>2026-02-26 21:52:35 -0300
commitd2f7c9f2ab113d42a92978ebf692490965b0f3f9 (patch)
tree3183190788f6f82b4153f35ba7e672dadff28406
parentd3cbc8cb5d3626683eefdf3d740410406c02a294 (diff)
Add unallowpubkey and unbanpubkey (#2111)
Co-authored-by: Jon Staab <shtaab@gmail.com>
-rw-r--r--86.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/86.md b/86.md
index 6f64eee..b9a8cc2 100644
--- a/86.md
+++ b/86.md
@@ -34,12 +34,18 @@ This is the list of **methods** that may be supported:
34* `banpubkey`: 34* `banpubkey`:
35 - params: `["<32-byte-hex-public-key>", "<optional-reason>"]` 35 - params: `["<32-byte-hex-public-key>", "<optional-reason>"]`
36 - result: `true` (a boolean always set to `true`) 36 - result: `true` (a boolean always set to `true`)
37* `unbanpubkey`:
38 - params: `["<32-byte-hex-public-key>", "<optional-reason>"]`
39 - result: `true` (a boolean always set to `true`)
37* `listbannedpubkeys`: 40* `listbannedpubkeys`:
38 - params: `[]` 41 - params: `[]`
39 - result: `[{"pubkey": "<32-byte-hex>", "reason": "<optional-reason>"}, ...]`, an array of objects 42 - result: `[{"pubkey": "<32-byte-hex>", "reason": "<optional-reason>"}, ...]`, an array of objects
40* `allowpubkey`: 43* `allowpubkey`:
41 - params: `["<32-byte-hex-public-key>", "<optional-reason>"]` 44 - params: `["<32-byte-hex-public-key>", "<optional-reason>"]`
42 - result: `true` (a boolean always set to `true`) 45 - result: `true` (a boolean always set to `true`)
46* `unallowpubkey`:
47 - params: `["<32-byte-hex-public-key>", "<optional-reason>"]`
48 - result: `true` (a boolean always set to `true`)
43* `listallowedpubkeys`: 49* `listallowedpubkeys`:
44 - params: `[]` 50 - params: `[]`
45 - result: `[{"pubkey": "<32-byte-hex>", "reason": "<optional-reason>"}, ...]`, an array of objects 51 - result: `[{"pubkey": "<32-byte-hex>", "reason": "<optional-reason>"}, ...]`, an array of objects