diff options
| -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 | ||