mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-10 06:09:08 -05:00
typos
This commit is contained in:
parent
bad139ed6e
commit
c4c2061ac3
4
76.md
4
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.
|
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
|
## 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>"]
|
["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
|
```js
|
||||||
class BloomFilter(size: Int, n: Int, buffer: ByteArray) {
|
class BloomFilter(size: Int, n: Int, buffer: ByteArray) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user