<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:(1) can be accomplished by filtering for the set of outputs in the transaction you created. I agree (2) would ideally be done to avoid issues with a copied wallet (theft or not), but I am worried about the size of the filters themselves, not just the size of the blocks downloaded after a match.&#xA;&#xA;On May 17, 2018 3:43:15 PM UTC, Peter Todd &lt;pete at petertodd.org&gt; wrote:&#xA;&gt;On Thu, May 17, 2018 at 11:25:12AM -0400, Matt Corallo via bitcoin-dev&#xA;&gt;wrote:&#xA;&gt;&gt; BIP 158 currently includes the following in the &#34;basic&#34; filter: 1)&#xA;&gt;&gt; txids, 2) output scripts, 3) input prevouts.&#xA;&gt;&gt; &#xA;&gt;&gt; I believe (1) could be skipped entirely - there is almost no reason&#xA;&gt;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 and (2) and (3) may want to be split out -&#xA;&gt;&gt; many wallets may wish to just find transactions paying to them, as&#xA;&gt;&gt; transactions spending from their outputs should generally be things&#xA;&gt;&gt; they&#39;ve created.&#xA;&gt;&#xA;&gt;So I think we have two cases where wallets want to find txs spending&#xA;&gt;from their&#xA;&gt;outputs:&#xA;&gt;&#xA;&gt;1) Waiting for a confirmation&#xA;&gt;2) Detecting theft&#xA;&gt;&#xA;&gt;The former can be turned off once there are no expected unconfirmed&#xA;&gt;transactions.&#xA;&gt;&#xA;&gt;As for the latter, this is probably a valuable thing for wallets to do.&#xA;&gt;Modulo&#xA;&gt;reorgs, reducing the frequency that you check for stolen funds doesn&#39;t&#xA;&gt;decrease&#xA;&gt;total bandwidth cost - it&#39;s one filter match per block regardless - but&#xA;&gt;perhaps&#xA;&gt;the real-world bandwidth cost can be reduced by, say, waiting for a&#xA;&gt;wifi&#xA;&gt;connection rather than using cellular data.&#xA;&gt;&#xA;&gt;-- &#xA;&gt;https://petertodd.org &#39;peter&#39;[:-1]@petertodd.org&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180517/d64f3e3b/attachment.html&gt;</html></oembed>