upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/13.md
diff options
context:
space:
mode:
Diffstat (limited to '13.md')
-rw-r--r--13.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/13.md b/13.md
index 2c60929..360bde6 100644
--- a/13.md
+++ b/13.md
@@ -18,7 +18,7 @@ Mining
18To generate PoW for a `NIP-01` note, a `nonce` tag is used: 18To 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
24When 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. 24When 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.