From 4313fbf7a5c1d7d2c29e414ed68104641f3286fa Mon Sep 17 00:00:00 2001 From: Asai Toshiya Date: Thu, 22 Feb 2024 12:30:18 +0900 Subject: [PATCH] NIP-46, NIP-49, NIP-65: fix typos --- 46.md | 4 ++-- 49.md | 14 +++++++------- 65.md | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/46.md b/46.md index d9343008..eb964942 100644 --- a/46.md +++ b/46.md @@ -96,7 +96,7 @@ nostrconnect://?relay=&metadata "pubkey": , "content": )>, "tags": [["p", ]], // NB: in the `create_account` event, the remote signer pubkey should be `p` tagged. - "created_at": , + "created_at": } ``` @@ -139,7 +139,7 @@ Each of the following are methods that the client sends to the remote signer. "pubkey": , "content": )>, "tags": [["p", ]], - "created_at": , + "created_at": } ``` diff --git a/49.md b/49.md index da58ba27..731f132d 100644 --- a/49.md +++ b/49.md @@ -16,13 +16,13 @@ PASSWORD = Read from the user. The password should be unicode normalized to NFKC 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: - | LOG\_N | MEMORY REQUIRED | APPROX TIME ON FAST COMPUTER | - |--------|-----------------|----------------------------- | - | 16 | 64 MiB | 100 ms | - | 18 | 256 MiB | | - | 20 | 1 GiB | 2 seconds | - | 21 | 2 GiB | | - | 22 | 4 GiB | | + | LOG_N | MEMORY REQUIRED | APPROX TIME ON FAST COMPUTER | + |-------|-----------------|----------------------------- | + | 16 | 64 MiB | 100 ms | + | 18 | 256 MiB | | + | 20 | 1 GiB | 2 seconds | + | 21 | 2 GiB | | + | 22 | 4 GiB | | SALT = 16 random bytes diff --git a/65.md b/65.md index 4a6f5a11..1a2d7e81 100644 --- a/65.md +++ b/65.md @@ -19,7 +19,7 @@ The `.content` is not used. ["r", "wss://alicerelay.example.com"], ["r", "wss://brando-relay.com"], ["r", "wss://expensive-relay.example2.com", "write"], - ["r", "wss://nostr-relay.example.com", "read"], + ["r", "wss://nostr-relay.example.com", "read"] ], "content": "", ...other fields