<oembed><type>rich</type><version>1.0</version><author_name>npub1ncnj8arudstdxzfhxk7k4nwgkrw3hyw8sgt0wqqmm5hh2c4knmgs2lqt2n</author_name><author_url>https://nostr.ae/npub1ncnj8arudstdxzfhxk7k4nwgkrw3hyw8sgt0wqqmm5hh2c4knmgs2lqt2n</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2018-05-22&#xA;📝 Original message:&gt;&#xA;&gt; My suggestion was to advertise a bitfield for each filter type the node&#xA;&gt; serves,&#xA;&gt; where the bitfield indicates what elements are part of the filters. This&#xA;&gt; essentially&#xA;&gt; removes the notion of decided filter types and instead leaves the decision&#xA;&gt; to&#xA;&gt; full-nodes.&#xA;&gt;&#xA;&#xA;I think it makes more sense to construct entirely separate filters for the&#xA;different types of elements and allow clients to download only the ones&#xA;they care about. If there are enough elements per filter, the compression&#xA;ratio shouldn&#39;t be much worse by splitting them up. This prevents the&#xA;exponential blowup in the number of filters that you mention, Johan, and it&#xA;works nicely with service bits for advertising different filter types&#xA;independently.&#xA;&#xA;So if we created three separate filter types, one for output scripts, one&#xA;for input outpoints, and one for TXIDs, each signaled with a separate&#xA;service bit, are people good with that? Or do you think there shouldn&#39;t be&#xA;a TXID filter at all, Matt? I didn&#39;t include the option of a prev output&#xA;script filter or rolling that into the block output script filter because&#xA;it changes the security model (cannot be proven to be correct/incorrect&#xA;succinctly).&#xA;&#xA;Then there&#39;s the question of whether to separate or combine the headers.&#xA;I&#39;d lean towards keeping them separate because it&#39;s simpler that way.&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180522/328a953f/attachment-0001.html&gt;</html></oembed>