Before we kept an in-memory map of seen eons and epoch, in order to avoid firing events multiple times.
If the node would crash, this information would be lost - although this has no negative effect on database records.
Now, we simply try to insert incoming objects into our db, and will react on wether ON CONFLICT DO NOTHING happened during the insert.
We also now insert received decryption keys into the DB.
Before we kept an in-memory map of seen eons and epoch, in order to avoid firing events multiple times. If the node would crash, this information would be lost - although this has no negative effect on database records.
Now, we simply try to insert incoming objects into our db, and will react on wether
ON CONFLICT DO NOTHING
happened during the insert.We also now insert received decryption keys into the DB.