forgot to update the initial nonce in the explanation

This commit is contained in:
arkin0x 2023-04-24 14:43:15 -05:00 committed by GitHub
parent 6fb9e54f7b
commit 61475db6f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
13.md
View File

@ -18,7 +18,7 @@ Mining
To generate PoW for a `NIP-01` note, a `nonce` tag is used:
```json
{"content": "It's just me mining my own business", "tags": [["nonce", "1", "20"]]}
{"content": "It's just me mining my own business", "tags": [["nonce", "1", "21"]]}
```
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.