From c4c2061ac3328c8a6ca207eb963650c7e4b86873 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 13 Sep 2024 13:00:08 -0400 Subject: [PATCH 1/2] typos --- 76.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/76.md b/76.md index 85b164e1..f29a44c9 100644 --- a/76.md +++ b/76.md @@ -8,7 +8,7 @@ Relay Read Permissions Tag names `rp` (read permission) and `prp` (probabilistic read permission) define which keys are authorized to download an event from the relay. -Events that include an `rp` or `prp` require AUTH to be downloaded. +Events with an `rp` or `prp` require AUTH to be downloaded. ## Read Permission @@ -28,7 +28,7 @@ Bloom filters are bit arrays that encode keys `n` times. They are represented by ["prp", "::"] ``` -Bloom filters MUST use `SHA-256` functions of the key + iterating index as the psedocode below: +Bloom filters MUST use `SHA-256` functions of the key + iterating index as the pseudocode below: ```js class BloomFilter(size: Int, n: Int, buffer: ByteArray) { From c1649e45b84cb7b051ac552ead1b48c05cb14ad5 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 13 Sep 2024 13:00:40 -0400 Subject: [PATCH 2/2] typos --- 76.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/76.md b/76.md index f29a44c9..c9457edf 100644 --- a/76.md +++ b/76.md @@ -71,7 +71,7 @@ Relays MUST check if the authed user is in the filter before returning the event ### Test cases -The filter below has 100 bits, with 10 rounds or hashes that should be able to match 10,000,000 keys without a single false positive. +The filter below has 100 bits, with 10 rounds of hashes that should be able to match 10,000,000 keys without a single false positive. ```json ["prp", "100:10:QGKCgBEBAAhIAApO"]