nip13: remove section about pow prefix querying.

prefix searching was removed from the spec.
This commit is contained in:
fiatjaf 2024-08-20 13:23:28 -03:00 committed by fiatjaf_
parent ca3c52e3e7
commit b3c1a56269

10
13.md
View File

@ -103,16 +103,6 @@ function countLeadingZeroes(hex) {
} }
``` ```
Querying relays for PoW notes
-----------------------------
If relays allow searching on prefixes, you can use this as a way to filter notes of a certain difficulty:
```
$ echo '["REQ", "subid", {"ids": ["000000000"]}]' | websocat wss://some-relay.com | jq -c '.[2]'
{"id":"000000000121637feeb68a06c8fa7abd25774bdedfa9b6ef648386fb3b70c387", ...}
```
Delegated Proof of Work Delegated Proof of Work
----------------------- -----------------------