Global Feed Post Login
Replying to Avatar calle

another bloom filter idea: when subscribing to notes from a relay, users could include a bloom filter with event ids to ignore. relays can check the filter before sending you the event (that you've already seen).

has very little additional computing cost for relays, potentially saves a ton of bandwidth.

iirc this idea has been floating around already, not sure if there's a nip for it

nostr:nevent1qvzqqqqqqypzq5xeflpdskqvdq4swxj59793uvdzqzc9pzatjk3nhmcg2h0js8trqy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qghwaehxw309aex2mrp0yhxummnw3ezucnpdejz7qgkwaehxw309ajkgetw9ehx7um5wghxcctwvshsqgpu6tsg6uwdh6e38z8wf4g8ezlht53fku7p9gurwp9p2lm9tal77uxs52xf

Avatar
Leo Wandersleb 6mo ago

I used bloom or cockoo filters in a relay implementation to save ram on subscriptions. Use the exact filter until EOSE and turn it into a probabilistic filter for new events.

Reply to this note

Please Login to reply.

Discussion

Avatar
calle 6mo ago

nice

Thread collapsed