Leo Wandersleb on Nostr: For that you use a kind filter. Get all replaceable events without a "since" and all ...
For that you use a kind filter. Get all replaceable events without a "since" and all other content "since" last connection loss - 1day or so. Other clients do it that way and it's certainly more efficient and private.
Published at
2022-07-29 14:58:43Event JSON
{
"id": "5ddb4e9d1b6c3529562cc26eba76e6b7656ebf24555d672871728f3245d2e610",
"pubkey": "46fcbe3065eaf1ae7811465924e48923363ff3f526bd6f73d7c184b16bd8ce4d",
"created_at": 1659106723,
"kind": 1,
"tags": [
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"wss://relay.damus.io"
],
[
"p",
"38b07a31f3b23dbeb9f59deb7bec5b993173fb4022206980f3809d0b68abf959",
"ws://localhost:7070"
],
[
"p",
"2ef93f01cd2493e04235a6b87b10d3c4a74e2a7eb7c3caf168268f6af73314b5",
"wss://nostr-pub.wellorder.net"
],
[
"e",
"0ddebf828647920417deb00cc9de70a83db5b5c414466f684a5cbe7f02723243"
],
[
"e",
"121bf78fdca84fa69669182f0bbc31ed6e86073dbc1f09ab7d7f3334fbfed1b1",
"wss://nostr-pub.wellorder.net"
]
],
"content": "For that you use a kind filter. Get all replaceable events without a \"since\" and all other content \"since\" last connection loss - 1day or so. Other clients do it that way and it's certainly more efficient and private.",
"sig": "8618d30c5ac5e1c326d966dcce2d407544e3950365aa0a487ef5e479d37b0774000d96725361083cc44d430b58bce974d1716ac5d9d9046602d5423d5d807a72"
}