diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2023-11-19 10:17:57 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2023-11-19 10:17:57 -0300 |
| commit | 438812d0a4a9afa5b4985e07771ae2919765b514 (patch) | |
| tree | 5ecc4ce75ef98d1c7af3adecca4a9d35844485bd | |
| parent | 50d20123e2271e2d33323105414b01a0a69559d5 (diff) | |
clarify that `restricted_writes` do not include normal anti-spam heuristics and other kinds of soft-restrictions.
| -rw-r--r-- | 11.md | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -127,6 +127,9 @@ Even if set to False, authentication may be required for specific actions. | |||
| 127 | 127 | ||
| 128 | - `restricted_writes`: this relay requires some kind of condition to be fulfilled in order to | 128 | - `restricted_writes`: this relay requires some kind of condition to be fulfilled in order to |
| 129 | accept events (not necessarily, but including `payment_required` and `min_pow_difficulty`). | 129 | accept events (not necessarily, but including `payment_required` and `min_pow_difficulty`). |
| 130 | This should only be set to `true` when users are expected to know the relay policy before trying | ||
| 131 | to write to it -- like belonging to a special pubkey-based whitelist or writing only events of | ||
| 132 | a specific niche kind or content. Normal anti-spam heuristics, for example, do not qualify. | ||
| 130 | 133 | ||
| 131 | - `created_at_lower_limit`: 'created_at' lower limit as defined in [NIP-22](22.md) | 134 | - `created_at_lower_limit`: 'created_at' lower limit as defined in [NIP-22](22.md) |
| 132 | 135 | ||