add NIP-22 created_at limits to Server-Limitations

This commit is contained in:
SnazzyBytes 2023-08-30 18:30:41 -05:00 committed by fiatjaf_
parent 3f218fc3a1
commit d784820309

6
11.md
View File

@ -80,6 +80,8 @@ are rejected or fail immediately.
"min_pow_difficulty": 30,
"auth_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.
- `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 ###
There may be a cost associated with storing data forever, so relays