This commit is contained in:
Vitor Pamplona 2024-09-13 13:00:08 -04:00 committed by GitHub
parent bad139ed6e
commit c4c2061ac3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
76.md
View File

@ -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", "<bit size>:<rounds>:<base64>"]
```
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) {