Felix on Nostr: guess the easiest way to not get in a loop would be to store all event ids of the ...
guess the easiest way to not get in a loop would be to store all event ids of the replies in a hashset and compare incoming events against it
Published at
2024-09-22 13:45:33Event JSON
{
"id": "508856f3ae701d48bf3401e4e45cbc23dcbfd664316f80b23ff36512b5db3635",
"pubkey": "11674b2d321fc24239b02afdf966c32e36594a6282bd7f3d4bcd12438558ab51",
"created_at": 1727012733,
"kind": 1,
"tags": [
[
"e",
"f149d495de508fa72df1533d5df476aa300cb4616044065d597425b63580bcc0",
"",
"root"
],
[
"p",
"8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8"
]
],
"content": "guess the easiest way to not get in a loop would be to store all event ids of the replies in a hashset and compare incoming events against it",
"sig": "2b6bead18000e32cad179577480941a734b7ec84a4b7453871dddb31e030cb8b37b24a03136795333b83811cf2b480fac344155198866bb806fb468662552594"
}