upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Vsk <me@viktorvsk.com>2023-08-20 14:27:03 +0200
committerfiatjaf_ <fiatjaf@gmail.com>2023-08-20 12:15:25 -0300
commit89915e0251ec4e5ce3fc00e2f2dfd9106a359b79 (patch)
treee32838140914eef22b3ed293e2dd6fa3a4c26b59
parentc5a8b75abd9ad5c0b2a680f71ae2c91beda37d5a (diff)
Remove min_prefix mentions from NIP-11 after prefix search was removed from NIP-01
-rw-r--r--11.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/11.md b/11.md
index c71f89e..083ae8f 100644
--- a/11.md
+++ b/11.md
@@ -75,7 +75,6 @@ are rejected or fail immediately.
75 "max_filters": 100, 75 "max_filters": 100,
76 "max_limit": 5000, 76 "max_limit": 5000,
77 "max_subid_length": 100, 77 "max_subid_length": 100,
78 "min_prefix": 4,
79 "max_event_tags": 100, 78 "max_event_tags": 100,
80 "max_content_length": 8196, 79 "max_content_length": 8196,
81 "min_pow_difficulty": 30, 80 "min_pow_difficulty": 30,
@@ -102,9 +101,6 @@ Must be one or higher.
102 101
103- `max_subid_length`: maximum length of subscription id as a string. 102- `max_subid_length`: maximum length of subscription id as a string.
104 103
105- `min_prefix`: for `authors` and `ids` filters which are to match against
106a hex prefix, you must provide at least this many hex digits in the prefix.
107
108- `max_limit`: the relay server will clamp each filter's `limit` value to this number. 104- `max_limit`: the relay server will clamp each filter's `limit` value to this number.
109This means the client won't be able to get more than this number 105This means the client won't be able to get more than this number
110of events from a single subscription filter. This clamping is typically done silently 106of events from a single subscription filter. This clamping is typically done silently
@@ -284,7 +280,6 @@ As of 2 May 2023 the following `curl` command provided these results.
284 "max_filters":2500, 280 "max_filters":2500,
285 "max_limit":5000, 281 "max_limit":5000,
286 "max_subid_length":256, 282 "max_subid_length":256,
287 "min_prefix":4,
288 "max_event_tags":2500, 283 "max_event_tags":2500,
289 "max_content_length":65536, 284 "max_content_length":65536,
290 "min_pow_difficulty":0, 285 "min_pow_difficulty":0,