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.md10
1 files changed, 0 insertions, 10 deletions
diff --git a/13.md b/13.md
index 99289c2..0900d2d 100644
--- a/13.md
+++ b/13.md
@@ -103,16 +103,6 @@ function countLeadingZeroes(hex) {
103} 103}
104``` 104```
105 105
106Querying relays for PoW notes
107-----------------------------
108
109If relays allow searching on prefixes, you can use this as a way to filter notes of a certain difficulty:
110
111```
112$ echo '["REQ", "subid", {"ids": ["000000000"]}]' | websocat wss://some-relay.com | jq -c '.[2]'
113{"id":"000000000121637feeb68a06c8fa7abd25774bdedfa9b6ef648386fb3b70c387", ...}
114```
115
116Delegated Proof of Work 106Delegated Proof of Work
117----------------------- 107-----------------------
118 108