Files
ngit-grasp/tests/sync
DanConwayDev 86b61aea4b fix(sync): batch proactive filters under relay REQ limits
Public relays cap active subscription IDs. Opening separate live and historic REQs for every GRASP state, a, A, q, e, and E filter can reject the tail of the desired coverage.

Carry up to ten compatible GRASP filters under each NIP-01 subscription ID. Preserve a separate event count and oldest timestamp for every filter so each filter advances only when its own result page may be full.

This pagination model assumes relay result limits are independent per filter, the effective per-filter cap is at least 75, and no additional total-result cap can starve filters within a grouped REQ. Record those assumptions in the implementation and design documentation.

Keep 300-ID negentropy fetch filters in separate REQs because their message-size budget is distinct from semantic GRASP filter batching.
2026-08-01 14:53:23 +01:00
..
2026-02-23 12:05:07 +00:00