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
Sooly⚡️سولي 🇱🇧🇧🇪🇦🇪🇦🇴 6mo ago

Apparently there is a trade-off: “Bloom filters can occasionally cause relays to skip sending an event that the client hasn’t actually seen.”

Reply to this note

Please Login to reply.

Discussion

Avatar
x 6mo ago

Yes, but the probability can be controlled.

Thread collapsed