You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONFIGURATION.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,20 +38,22 @@ Running `nostream` for the first time creates the settings file in `<project_roo
38
38
|| Spin workers as many CPUs are available when set to zero. Defaults to zero. |
39
39
| limits.event.eventId.minLeadingZeroBits | Leading zero bits required on every incoming event for proof of work. |
40
40
|| Defaults to zero. Disabled when set to zero. |
41
-
| limits.event.kind.whitelist | List of event kinds to allow. Leave empty to allow any. |
42
-
| limits.event.kind.blacklist | List of event kinds to reject. Leave empty to allow any. |
41
+
| limits.event.kind.whitelist | List of event kinds to always allow. Leave empty to allow any. |
42
+
| limits.event.kind.blacklist | List of event kinds to always reject. Leave empty to allow any. |
43
43
| limits.event.pubkey.minLeadingZeroBits | Leading zero bits required on the public key of incoming events for proof of work. |
44
44
|| Defaults to zero. Disabled when set to zero. |
45
-
| limits.event.pubkey.whitelist | List of public keys to allow. Only public keys in this list will be able to post to this relay. |
46
-
| limits.event.pubkey.blacklist | List of public keys to reject. Public keys in this list will not be able to post to this relay. |
45
+
| limits.event.pubkey.whitelist | List of public keys to always allow. Only public keys in this list will be able to post to this relay. Use for private relays. |
46
+
| limits.event.pubkey.blacklist | List of public keys to always reject. Public keys in this list will not be able to post to this relay. |
47
47
| limits.event.createdAt.maxPositiveDelta | Maximum number of seconds an event's `created_at` can be in the future. Defaults to 900 (15 minutes). Disabled when set to zero. |
48
48
| limits.event.createdAt.minNegativeDelta | Maximum number of secodns an event's `created_at` can be in the past. Defaults to zero. Disabled when set to zero. |
49
49
| limits.event.content.maxLength | Maximum length of `content`. Defaults to 1 MB. Disabled when set to zero. |
50
50
| limits.event.rateLimits[].kinds | List of event kinds rate limited. Use `[min, max]` for ranges. Optional. |
51
51
| limits.event.rateLimits[].period | Rate limiting period in milliseconds. |
52
52
| limits.event.rateLimits[].rate | Maximum number of events during period. |
53
+
| limits.event.whitelists.pubkeys | List of public keys to ignore rate limits. |
54
+
| limits.event.whitelists.ipAddresses | List of IPs (IPv4 or IPv6) to ignore rate limits. |
53
55
| limits.client.subscription.maxSubscriptions | Maximum number of subscriptions per connected client. Defaults to 10. Disabled when set to zero. |
54
56
| limits.client.subscription.maxFilters | Maximum number of filters per subscription. Defaults to 10. Disabled when set to zero. |
55
57
| limits.message.rateLimits[].period | Rate limit period in milliseconds. |
56
58
| limits.message.rateLimits[].rate | Maximum number of messages during period. |
57
-
| limits.message.ipWhitelist | List of IPs (IPv4 or IPv6) without rate limit. |
59
+
| limits.message.ipWhitelist | List of IPs (IPv4 or IPv6) to ignore rate limits. |
0 commit comments