npub1cl…r095z on Nostr: client support for pow filter is very simple to implement pow is simply id filter: ...
client support for pow filter is very simple to implement
pow is simply id filter:
ids: ["0000"]
where one zero equals to 4 bits of pow
i tried with coracle filter feature, but it doesnt support this. it seems it does client side filtering of events after getting correct response from server
if client does exact id match verification against results of this query it ofc does not work.
#dev
Published at
2024-07-20 14:08:39 GMTEvent JSON
{
"id": "0000019cdf006b6b7344a60675d21116e51a955e477a7484ba3a2f381e4e44b8",
"pubkey": "c7d1a4f61c97d146a3a328f70c44e076d30a9706e8b1768966a79ace7954150a",
"created_at": 1721484519,
"kind": 1,
"tags": [
[
"nonce",
"773378",
"21"
]
],
"content": "client support for pow filter is very simple to implement\n\npow is simply id filter:\nids: [\"0000\"]\n\nwhere one zero equals to 4 bits of pow\n\ni tried with coracle filter feature, but it doesnt support this. it seems it does client side filtering of events after getting correct response from server\n\nif client does exact id match verification against results of this query it ofc does not work.\n\n#dev",
"sig": "8836d693949a5ae79c1542dc3814aa4c852029a63d46b767410f07ed5a3dc1209f52c871a183f2f955777d157e15409d56b087891f26c54611ee7f1c72802b43"
}