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:
authorarkin0x <99223753+arkin0x@users.noreply.github.com>2023-04-24 14:43:15 -0500
committerGitHub <noreply@github.com>2023-04-24 14:43:15 -0500
commit61475db6f43068c535b275ef48e0faecf461ac76 (patch)
treebdfa38c2787fb0f49695c8c8457dbe756bd74cf2 /13.md
parent6fb9e54f7b4886272f7464aba2f0971543d8df40 (diff)
forgot to update the initial nonce in the explanation
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.