diff options
| author | arkin0x <99223753+arkin0x@users.noreply.github.com> | 2023-04-24 14:43:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-24 14:43:15 -0500 |
| commit | 61475db6f43068c535b275ef48e0faecf461ac76 (patch) | |
| tree | bdfa38c2787fb0f49695c8c8457dbe756bd74cf2 /13.md | |
| parent | 6fb9e54f7b4886272f7464aba2f0971543d8df40 (diff) | |
forgot to update the initial nonce in the explanation
Diffstat (limited to '13.md')
| -rw-r--r-- | 13.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -18,7 +18,7 @@ Mining | |||
| 18 | To generate PoW for a `NIP-01` note, a `nonce` tag is used: | 18 | To generate PoW for a `NIP-01` note, a `nonce` tag is used: |
| 19 | 19 | ||
| 20 | ```json | 20 | ```json |
| 21 | {"content": "It's just me mining my own business", "tags": [["nonce", "1", "20"]]} | 21 | {"content": "It's just me mining my own business", "tags": [["nonce", "1", "21"]]} |
| 22 | ``` | 22 | ``` |
| 23 | 23 | ||
| 24 | When mining, the second entry to the nonce tag is updated, and then the id is recalculated (see [NIP-01](./01.md)). If the id has the desired number of leading zero bits, the note has been mined. It is recommended to update the `created_at` as well during this process. | 24 | When mining, the second entry to the nonce tag is updated, and then the id is recalculated (see [NIP-01](./01.md)). If the id has the desired number of leading zero bits, the note has been mined. It is recommended to update the `created_at` as well during this process. |