What is Nostr?
SilberWitch
npub1l5s…gx9z
2025-01-24 22:58:20

SilberWitch on Nostr: Wish every relay had expiring events. ...

Wish every relay had expiring events.

it's way past my bedtime but #realy #devstr #progressreport

have written most of the code to implement nip-40 expiration timestamp

i traced it all the way in and decided that this is a feature that belongs in the event store, the event store should literally expire them when it bumps into them during a query

so that's where it's gonna be and it's gonna be enforced because the user signed it with that in it. the end. expiration date has passed, sorry, doesn't exist anymore.

simpler to put it here than anywhere else, if the event never gets seen for some time then ok, i may write a GC for this later but this is the first place to put it

but i'll finish it tomorrow... gonna back up my data and go give my kitty a face bump and seeya in the morning

#GN
Author Public Key
npub1l5sga6xg72phsz5422ykujprejwud075ggrr3z2hwyrfgr7eylqstegx9z