diff options
| author | SnazzyBytes <snazzybytes@gmail.com> | 2023-08-30 18:30:41 -0500 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2023-09-01 07:48:32 -0300 |
| commit | d784820309dba0447d6a0a351ad0230ba6c5c5fb (patch) | |
| tree | 8387666c413390438055d8c17a703cf1e75e0639 | |
| parent | 3f218fc3a16080537405e3f712b30ef10e709d5f (diff) | |
add NIP-22 created_at limits to Server-Limitations
| -rw-r--r-- | 11.md | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -80,6 +80,8 @@ are rejected or fail immediately. | |||
| 80 | "min_pow_difficulty": 30, | 80 | "min_pow_difficulty": 30, |
| 81 | "auth_required": true, | 81 | "auth_required": true, |
| 82 | "payment_required": true, | 82 | "payment_required": true, |
| 83 | "created_at_lower_limit":31536000, | ||
| 84 | "created_at_upper_limit":3, | ||
| 83 | } | 85 | } |
| 84 | ... | 86 | ... |
| 85 | } | 87 | } |
| @@ -123,6 +125,10 @@ Even if set to False, authentication may be required for specific actions. | |||
| 123 | 125 | ||
| 124 | - `payment_required`: this relay requires payment before a new connection may perform any action. | 126 | - `payment_required`: this relay requires payment before a new connection may perform any action. |
| 125 | 127 | ||
| 128 | - `created_at_lower_limit`: 'created_at' lower limit as defined in [NIP-22](22.md) | ||
| 129 | |||
| 130 | - `created_at_upper_limit`: 'created_at' upper limit as defined in [NIP-22](22.md) | ||
| 131 | |||
| 126 | ### Event Retention ### | 132 | ### Event Retention ### |
| 127 | 133 | ||
| 128 | There may be a cost associated with storing data forever, so relays | 134 | There may be a cost associated with storing data forever, so relays |