{"type":"rich","version":"1.0","author_name":"npub1e46n428mcyfwznl7nlsf6d3s7rhlwm9x3cmkuqzt3emmdpadmkaqqjxmcu","author_url":"https://nostr.ae/npub1e46n428mcyfwznl7nlsf6d3s7rhlwm9x3cmkuqzt3emmdpadmkaqqjxmcu","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2018-05-17\n📝 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.\n\nOn May 17, 2018 3:43:15 PM UTC, Peter Todd \u003cpete at petertodd.org\u003e wrote:\n\u003eOn Thu, May 17, 2018 at 11:25:12AM -0400, Matt Corallo via bitcoin-dev\n\u003ewrote:\n\u003e\u003e BIP 158 currently includes the following in the \"basic\" filter: 1)\n\u003e\u003e txids, 2) output scripts, 3) input prevouts.\n\u003e\u003e \n\u003e\u003e I believe (1) could be skipped entirely - there is almost no reason\n\u003ewhy\n\u003e\u003e you'd not be able to filter for, eg, the set of output scripts in a\n\u003e\u003e transaction you know about and (2) and (3) may want to be split out -\n\u003e\u003e many wallets may wish to just find transactions paying to them, as\n\u003e\u003e transactions spending from their outputs should generally be things\n\u003e\u003e they've created.\n\u003e\n\u003eSo I think we have two cases where wallets want to find txs spending\n\u003efrom their\n\u003eoutputs:\n\u003e\n\u003e1) Waiting for a confirmation\n\u003e2) Detecting theft\n\u003e\n\u003eThe former can be turned off once there are no expected unconfirmed\n\u003etransactions.\n\u003e\n\u003eAs for the latter, this is probably a valuable thing for wallets to do.\n\u003eModulo\n\u003ereorgs, reducing the frequency that you check for stolen funds doesn't\n\u003edecrease\n\u003etotal bandwidth cost - it's one filter match per block regardless - but\n\u003eperhaps\n\u003ethe real-world bandwidth cost can be reduced by, say, waiting for a\n\u003ewifi\n\u003econnection rather than using cellular data.\n\u003e\n\u003e-- \n\u003ehttps://petertodd.org 'peter'[:-1]@petertodd.org\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180517/d64f3e3b/attachment.html\u003e"}
