<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-05-19&#xA;📝 Original message:On Thu, May 17, 2018 at 2:44 PM Jim Posen via bitcoin-dev &lt;bitcoin-&#xA;&#xA;&gt; Monitoring inputs by scriptPubkey vs input-txid also has a massive&#xA;&gt;&gt; advantage for parallel filtering:  You can usually known your pubkeys&#xA;&gt;&gt; well in advance, but if you have to change what you&#39;re watching block&#xA;&gt;&gt;  N+1 for based on the txids that paid you in N you can&#39;t filter them&#xA;&gt;&gt; in parallel.&#xA;&gt;&gt;&#xA;&gt;&#xA;&gt; Yes, I&#39;ll grant that this is a benefit of your suggestion.&#xA;&gt;&#xA;&#xA;Yeah parallel filtering would be pretty nice. We&#39;ve implemented a serial&#xA;filtering for btcwallet [1] for the use-case of rescanning after a seed&#xA;phrase import. Parallel filtering would help here, but also we don&#39;t yet&#xA;take advantage of batch querying for the filters themselves. This would&#xA;speed up the scanning by quite a bit.&#xA;&#xA;I really like the filtering model though, it really simplifies the code,&#xA;and we can leverage identical logic for btcd (which has RPCs to fetch the&#xA;filters) as well.&#xA;&#xA;[1]:&#xA;https://github.com/Roasbeef/btcwallet/blob/master/chain/neutrino.go#L180&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180518/ead286a4/attachment.html&gt;</html></oembed>