Vitor Pamplona on Nostr: Most relays don't take 50 filters or 50 subs at the same time, so you need to split ...
Most relays don't take 50 filters or 50 subs at the same time, so you need to split it, resolve some npubs, mark the EOSE, move to the next group and so on. Then use the eose cache for each sub to avoid downloading the same event many times.
Published at
2025-05-26 22:16:38Event JSON
{
"id": "f50fda6bef863356d259bb20a7351eb3160ce83858e88f1ef4b8b0943a0df1b8",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1748297798,
"kind": 1,
"tags": [
[
"e",
"0e53e3e3b1dadb41ff07101e64a81fa0dd0ac7485962985b29ad307f31b4ce54",
"",
"root"
],
[
"e",
"ae0b445215a71ab65f2b0815534e932e0d53fcc7e678fd9763d5b35687e1ca16"
],
[
"e",
"4fce83af93460cfafc7901e34fd575900409185ade1852827c51a5d1ae0be0df",
"",
"reply"
],
[
"p",
"726a1e261cc6474674e8285e3951b3bb139be9a773d1acf49dc868db861a1c11"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "Most relays don't take 50 filters or 50 subs at the same time, so you need to split it, resolve some npubs, mark the EOSE, move to the next group and so on. Then use the eose cache for each sub to avoid downloading the same event many times.",
"sig": "0f4aee4ce897d7a026c3d61226b9ac9e7a41f5956ff9131ec787a9e35baf792d01737bf76a6bc4d26d97dcd41765f63a9a4c59acad074d7c62ec1659c3d6c0b4"
}