Replying to Avatar ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ

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

Avatar
ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ 1y ago

ok, since i'm gonna spend another half hour or so on it tomorrow, i may even make a ticker in the event store that combs the database for these once a day or something, preemptively

Reply to this note

Please Login to reply.

Discussion

No replies yet.