Skip to content

Commit 4313fbf

Browse files
AsaiToshiyafiatjaf
authored andcommitted
NIP-46, NIP-49, NIP-65: fix typos
1 parent cbee109 commit 4313fbf

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

46.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ nostrconnect://<local-keypair-pubkey>?relay=<wss://relay-to-connect-on>&metadata
9696
"pubkey": <local_keypair_pubkey>,
9797
"content": <nip04(<request>)>,
9898
"tags": [["p", <remote_user_pubkey>]], // NB: in the `create_account` event, the remote signer pubkey should be `p` tagged.
99-
"created_at": <unix timestamp in seconds>,
99+
"created_at": <unix timestamp in seconds>
100100
}
101101
```
102102

@@ -139,7 +139,7 @@ Each of the following are methods that the client sends to the remote signer.
139139
"pubkey": <remote_signer_pubkey>,
140140
"content": <nip04(<response>)>,
141141
"tags": [["p", <local_keypair_pubkey>]],
142-
"created_at": <unix timestamp in seconds>,
142+
"created_at": <unix timestamp in seconds>
143143
}
144144
```
145145

49.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ PASSWORD = Read from the user. The password should be unicode normalized to NFKC
1616

1717
LOG\_N = Let the user or implementer choose one byte representing a power of 2 (e.g. 18 represents 262,144) which is used as the number of rounds for scrypt. Larger numbers take more time and more memory, and offer better protection:
1818

19-
| LOG\_N | MEMORY REQUIRED | APPROX TIME ON FAST COMPUTER |
20-
|--------|-----------------|----------------------------- |
21-
| 16 | 64 MiB | 100 ms |
22-
| 18 | 256 MiB | |
23-
| 20 | 1 GiB | 2 seconds |
24-
| 21 | 2 GiB | |
25-
| 22 | 4 GiB | |
19+
| LOG_N | MEMORY REQUIRED | APPROX TIME ON FAST COMPUTER |
20+
|-------|-----------------|----------------------------- |
21+
| 16 | 64 MiB | 100 ms |
22+
| 18 | 256 MiB | |
23+
| 20 | 1 GiB | 2 seconds |
24+
| 21 | 2 GiB | |
25+
| 22 | 4 GiB | |
2626

2727
SALT = 16 random bytes
2828

65.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The `.content` is not used.
1919
["r", "wss://alicerelay.example.com"],
2020
["r", "wss://brando-relay.com"],
2121
["r", "wss://expensive-relay.example2.com", "write"],
22-
["r", "wss://nostr-relay.example.com", "read"],
22+
["r", "wss://nostr-relay.example.com", "read"]
2323
],
2424
"content": "",
2525
...other fields

0 commit comments

Comments
 (0)