diff options
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. |