jimbocoin on Nostr: IMO, you can’t safely prune the kind=5 delete events* because your relay could ...
IMO, you can’t safely prune the kind=5 delete events* because your relay could later receive again the event that was supposed to have been deleted.
* unless you know that the previously deleted event had a created_at stamp that’s outside the relay’s retention policy window.
Published at
2024-10-02 10:42:39Event JSON
{
"id": "9b50ad4ddd8996fe2e4a53fc5cb4512ebb0d95bc3fdc2ca0cacbedf6457e1155",
"pubkey": "6140478c9ae12f1d0b540e7c57806649327a91b040b07f7ba3dedc357cab0da5",
"created_at": 1727865759,
"kind": 1,
"tags": [
[
"e",
"15366726f82c64bb5319aa77698813e8c053ae2067af42cf434b6e69b001a5f3",
"wss://nostr.land/",
"root"
],
[
"e",
"67d0807a1e083d7d61101a92a1fada1471a58b60ca6832b71682ffaed01f8eb8",
"",
"reply"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "IMO, you can’t safely prune the kind=5 delete events* because your relay could later receive again the event that was supposed to have been deleted.\n\n* unless you know that the previously deleted event had a created_at stamp that’s outside the relay’s retention policy window.",
"sig": "cfa3be3702bc5a33de0f56a8cff552bba1b2126ae8179053cfe0cf8cf2062c5b930be49397f77ee05387ef3cef6d74e0e015f3333fcd31f3cfab6cf6bb628397"
}