<oembed><type>rich</type><version>1.0</version><author_name>npub19helcfnqgk2jrwzjex2aflq6jwfc8zd9uzzkwlgwhve7lykv23mq5zkvn4</author_name><author_url>https://nostr.ae/npub19helcfnqgk2jrwzjex2aflq6jwfc8zd9uzzkwlgwhve7lykv23mq5zkvn4</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2018-06-01&#xA;📝 Original message:&gt; A typical network attacker (e.g.  someone on your lan or wifi segmet, or&#xA;&gt; someone who has compromised or operates an upstream router) can be all of&#xA;&gt; your peers.&#xA;&#xA;This is true, but it cannot make us accept any invalid filters unless the&#xA;attacker is also creating invalid blocks w/ valid PoW.&#xA;&#xA;&gt; The original propsal for using these kinds of maps was that their digests&#xA;&gt; could eventually be commited and then checked against the commitment,&#xA;&gt; matching the same general security model used otherwise in SPV.&#xA;&#xA;Indeed, but no such proposal for committing the filters has emerged yet.&#xA;Slinging filters with new p2p messages requires much less coordination that&#xA;adding a new committed structure to Bitcoin. One could imagine that if&#xA;consensus exists to add new committed structures, then there may also be&#xA;initiatives to start to commit sig-ops, block weight, utxo&#39;s etc. As a&#xA;result one could imagine a much longer deployment cycle compared to a pure&#xA;p2p roll out in the near term, and many applications are looking for a&#xA;viable alternative to BIP 37.&#xA;&#xA;&gt; Unfortunately, using the scripts instead of the outpoints takes us further&#xA;&gt; away from a design that is optimized for committing (or, for that matter,&#xA;&gt; use purely locally by a wallet)...&#xA;&#xA;I agree that using the prev input scripts would indeed be optimal from a&#xA;size perspective when the filters are to be committed. The current proposal&#xA;makes way for future filter types and it&#39;s likely the case that only the&#xA;most optimal filters should be committed (while other more niche filters&#xA;perhaps, remain only on the p2p level).&#xA;&#xA;-- Laolu&#xA;&#xA;&#xA;On Thu, May 31, 2018 at 9:14 PM Gregory Maxwell &lt;gmaxwell at gmail.com&gt; wrote:&#xA;&#xA;&gt; On Fri, Jun 1, 2018 at 2:52 AM, Olaoluwa Osuntokun via bitcoin-dev&#xA;&gt; &lt;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt; &gt; One notable thing that I left off is the proposed change to use the&#xA;&gt; previous&#xA;&gt; &gt; output script rather than the outpoint. Modifying the filters in this&#xA;&gt; &gt; fashion would be a downgrade in the security model for light clients, as&#xA;&gt; it&#xA;&gt;&#xA;&gt; Only if you make a very strong assumption about the integrity of the&#xA;&gt; nodes the client is talkign to. A typical network attacker (e.g.&#xA;&gt; someone on your lan or wifi segmet, or someone who has compromised or&#xA;&gt; operates an upstream router) can be all of your peers.&#xA;&gt;&#xA;&gt; The original propsal for using these kinds of maps was that their&#xA;&gt; digests could eventually be commited and then checked against the&#xA;&gt; commitment, matching the same general security model used otherwise in&#xA;&gt; SPV.&#xA;&gt;&#xA;&gt; Unfortunately, using the scripts instead of the outpoints takes us&#xA;&gt; further away from a design that is optimized for committing (or, for&#xA;&gt; that matter, use purely locally by a wallet)...&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180601/12faacf0/attachment.html&gt;</html></oembed>