girino on Nostr: you can probably store just part of the event id, since its a hash, and collisions ...
you can probably store just part of the event id, since its a hash, and collisions will still be pretty rare. You can adjust how much of the ids you keep based on the amount of available memory.
Published at
2025-02-20 00:45:56Event JSON
{
"id": "24af0676a904d46bba3912f52f1ea108f04465d37f7d618f6a99b3f3e32954a4",
"pubkey": "3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657",
"created_at": 1740012356,
"kind": 1,
"tags": [
[
"e",
"47a3a4bfa28f8325ed7b88678fcf6a8058411b809ee3fb2250e553639c1d9a6d",
"",
"root"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "you can probably store just part of the event id, since its a hash, and collisions will still be pretty rare. You can adjust how much of the ids you keep based on the amount of available memory.",
"sig": "aab4dd4d8155b49ff09b4769889d9be236a9a9eb8ac44f33af394774e2005092b4b3c3c3ff77d5a9511dacee3921d7651c55fe4125f4eb429a790b5589f33d7e"
}