mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-13 23:39:08 -05:00
forgot to update the initial nonce in the explanation
This commit is contained in:
parent
6fb9e54f7b
commit
61475db6f4
2
13.md
2
13.md
|
@ -18,7 +18,7 @@ Mining
|
||||||
To generate PoW for a `NIP-01` note, a `nonce` tag is used:
|
To generate PoW for a `NIP-01` note, a `nonce` tag is used:
|
||||||
|
|
||||||
```json
|
```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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user