Nice, and how do you handle duplicate events to prevent decrypting them multiple times? Just curious.
Login to reply
Replies (2)
I am marking a note flag that says it has already been unwrapped. the giftwraps themselves are stored as well like any other note, so its not processed twice.
we probably don't need to store the wraps. maybe eventually I won't and just add a noteid metadata entry that says they have already been processed
We store just the header of the wraps (empty content) so that if any client decides to tag a wrap (like for reports), we at least know what it is and which inner event it is talking about.