diff options
| author | hodlbod <jstaab@protonmail.com> | 2026-02-26 16:52:35 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-26 21:52:35 -0300 |
| commit | d2f7c9f2ab113d42a92978ebf692490965b0f3f9 (patch) | |
| tree | 3183190788f6f82b4153f35ba7e672dadff28406 | |
| parent | d3cbc8cb5d3626683eefdf3d740410406c02a294 (diff) | |
Add unallowpubkey and unbanpubkey (#2111)
Co-authored-by: Jon Staab <shtaab@gmail.com>
| -rw-r--r-- | 86.md | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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 |