<oembed><type>rich</type><version>1.0</version><author_name>npub1e46n428mcyfwznl7nlsf6d3s7rhlwm9x3cmkuqzt3emmdpadmkaqqjxmcu</author_name><author_url>https://nostr.ae/npub1e46n428mcyfwznl7nlsf6d3s7rhlwm9x3cmkuqzt3emmdpadmkaqqjxmcu</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2018-05-17&#xA;📝 Original message:Yea I generally would really prefer something like that but it&#xA;significantly complicates the download logic - currently clients can&#xA;easily cross-check a filter in case they differ between providers by&#xA;downloading the block. If we instead went with the script being spent&#xA;they would have to be provided all previous transactions (potentially&#xA;compressed via midstate) as well, making it potentially infeasible to&#xA;identify the offending node while remaining a lightweight client. Maybe&#xA;there is some other reasonable download logic to replace it with, however.&#xA;&#xA;Matt&#xA;&#xA;On 05/17/18 12:36, Gregory Maxwell wrote:&#xA;&gt; On Thu, May 17, 2018 at 3:25 PM, Matt Corallo via bitcoin-dev&#xA;&gt; &lt;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt;&gt; I believe (1) could be skipped entirely - there is almost no reason why&#xA;&gt;&gt; you&#39;d not be able to filter for, eg, the set of output scripts in a&#xA;&gt;&gt; transaction you know about&#xA;&gt; &#xA;&gt; I think this is convincing for the txids themselves.&#xA;&gt; &#xA;&gt; What about also making input prevouts filter based on the scriptpubkey&#xA;&gt; being _spent_?  Layering wise in the processing it&#39;s a bit ugly, but&#xA;&gt; if you validated the block you have the data needed.&#xA;&gt; &#xA;&gt; This would eliminate the multiple data type mixing entirely.&#xA;&gt;</html></oembed>