mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
add NIP-22 created_at limits to Server-Limitations
This commit is contained in:
parent
3f218fc3a1
commit
d784820309
6
11.md
6
11.md
|
@ -80,6 +80,8 @@ are rejected or fail immediately.
|
||||||
"min_pow_difficulty": 30,
|
"min_pow_difficulty": 30,
|
||||||
"auth_required": true,
|
"auth_required": true,
|
||||||
"payment_required": true,
|
"payment_required": true,
|
||||||
|
"created_at_lower_limit":31536000,
|
||||||
|
"created_at_upper_limit":3,
|
||||||
}
|
}
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
|
@ -123,6 +125,10 @@ Even if set to False, authentication may be required for specific actions.
|
||||||
|
|
||||||
- `payment_required`: this relay requires payment before a new connection may perform any action.
|
- `payment_required`: this relay requires payment before a new connection may perform any action.
|
||||||
|
|
||||||
|
- `created_at_lower_limit`: 'created_at' lower limit as defined in [NIP-22](22.md)
|
||||||
|
|
||||||
|
- `created_at_upper_limit`: 'created_at' upper limit as defined in [NIP-22](22.md)
|
||||||
|
|
||||||
### Event Retention ###
|
### Event Retention ###
|
||||||
|
|
||||||
There may be a cost associated with storing data forever, so relays
|
There may be a cost associated with storing data forever, so relays
|
||||||
|
|
Loading…
Reference in New Issue
Block a user