Conversation
|
IIRC the GCS filters have:
This is fine for BIP158 blockfilters (the worst that can happen is that you download a block which is not relevant for you). If I understand this correctly, this can be catastrophic for what you are trying to achieve here, right? False positive will mark the note as spent even though it is unspent. Or do you suggest to use the filter to identify "surely unspent" (unmatched by GCS) notes and then query only the ones that have been "possibly spent" (all matches by GCS)? This would work. But if that is the case then this is not clear from the text or I missed it. |
Yes that's the idea. Unmatched notes are surely unspent and matched notes are possibly spent with probability |
|
@prusnak how would you change it to make it clearer? |
…ry flow Co-authored-by: aider (openrouter/google/gemini-2.5-flash) <[email protected]>
Co-authored-by: aider (openrouter/google/gemini-2.5-flash) <[email protected]>
Co-authored-by: aider (openrouter/google/gemini-2.5-flash) <[email protected]>
Golomb-Coded Set Filters provide a compressed data structure for testing set membership.
Wallets can fetch
GET v1/filter/spentand download the compressed set, then check to see if the ecash notes they have belong in the set (and thus are spent).This drastically improves privacy in some cases: