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:
authorfiatjaf <fiatjaf@gmail.com>2024-08-20 13:23:28 -0300
committerfiatjaf_ <fiatjaf@gmail.com>2024-08-20 15:42:40 -0300
commitb3c1a562690ce34f2c9dd668a5b18da2255afcb1 (patch)
treec84c457d2fb3200d1dfc389dd99d12126b3eb421 /13.md
parentca3c52e3e74f0a4679f1c6c0d9ac6461ea748d2d (diff)
nip13: remove section about pow prefix querying.
prefix searching was removed from the spec.
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