diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2024-08-20 13:23:28 -0300 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2024-08-20 15:42:40 -0300 |
| commit | b3c1a562690ce34f2c9dd668a5b18da2255afcb1 (patch) | |
| tree | c84c457d2fb3200d1dfc389dd99d12126b3eb421 /13.md | |
| parent | ca3c52e3e74f0a4679f1c6c0d9ac6461ea748d2d (diff) | |
nip13: remove section about pow prefix querying.
prefix searching was removed from the spec.
Diffstat (limited to '13.md')
| -rw-r--r-- | 13.md | 10 |
1 files changed, 0 insertions, 10 deletions
| @@ -103,16 +103,6 @@ function countLeadingZeroes(hex) { | |||
| 103 | } | 103 | } |
| 104 | ``` | 104 | ``` |
| 105 | 105 | ||
| 106 | Querying relays for PoW notes | ||
| 107 | ----------------------------- | ||
| 108 | |||
| 109 | If 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 | |||
| 116 | Delegated Proof of Work | 106 | Delegated Proof of Work |
| 117 | ----------------------- | 107 | ----------------------- |
| 118 | 108 | ||