mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
"restricted_writes" on NIP-11.
This commit is contained in:
parent
5dcfe85306
commit
50d20123e2
4
11.md
4
11.md
|
@ -79,6 +79,7 @@ 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,
|
||||||
|
"restricted_writes": true,
|
||||||
"created_at_lower_limit": 31536000,
|
"created_at_lower_limit": 31536000,
|
||||||
"created_at_upper_limit": 3
|
"created_at_upper_limit": 3
|
||||||
},
|
},
|
||||||
|
@ -124,6 +125,9 @@ 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.
|
||||||
|
|
||||||
|
- `restricted_writes`: this relay requires some kind of condition to be fulfilled in order to
|
||||||
|
accept events (not necessarily, but including `payment_required` and `min_pow_difficulty`).
|
||||||
|
|
||||||
- `created_at_lower_limit`: 'created_at' lower limit as defined in [NIP-22](22.md)
|
- `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)
|
- `created_at_upper_limit`: 'created_at' upper limit as defined in [NIP-22](22.md)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user