<oembed><type>rich</type><version>1.0</version><author_name>npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_name><author_url>https://nostr.ae/npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-10-05&#xA;📝 Original message:&gt;&#xA;&gt; As Greg explained to you repeatedly, a softfork won&#39;t cause a&#xA;&gt; non-upgraded full node to start accepting blocks that create more&#xA;&gt; subsidy than is valid.&#xA;&gt;&#xA;&#xA;It was an example. Adam Back&#39;s extension blocks proposal would, in fact,&#xA;allow for a soft forking change that creates more subsidy than is valid (or&#xA;does anything else) by hiding one block inside another.&#xA;&#xA;Anyway, I think you got my point.&#xA;&#xA;&#xA;&gt; That&#39;s very different security from an SPV node, and as Greg&#xA;&gt; also explained, SPV nodes could be much more secure than bitcoinj&#xA;&gt; nodes (they could, for example, validate the coinbase transaction of&#xA;&gt; every block).&#xA;&gt;&#xA;&#xA;I&#39;m pretty sure Gregory did not use such an example because it&#39;s dead&#xA;wrong. You cannot verify the size of a coinbase without being a fully&#xA;verifying node because you need to know the fees in the block, and&#xA;calculating that requires access to the entire UTXO set.&#xA;&#xA;This sort of thing is why I get annoyed when people lecture me about SPV&#xA;wallets and the things they &#34;should&#34; do. None of you guys has built one. I&#xA;keep seeing wild statements about theoretical unicorn wallets that nobody&#xA;has even designed, and how all existing wallets are crappy and insecure&#xA;because they don&#39;t meet your ever shifting goal posts.&#xA;&#xA;To everyone making such statements I say: go away and build an SPV wallet&#xA;of your own from scratch. Then you will understand the engineering&#xA;tradeoffs involved much better, and be in a much better position to debate&#xA;what they should or should not be doing.&#xA;&#xA;And bear in mind if it weren&#39;t for the work myself and a few others did on&#xA;SPV wallets, everyone would be using web wallets instead. Then you&#39;d all&#xA;just complain about that instead.&#xA;&#xA;&#xA;&gt; Can you give an example of an attack in which a non-upgraded full node&#xA;&gt; wallet is defrauded with BIP65 but could not with the hardfork&#xA;&gt; alternative (that nobody seems to be willing to implement)?&#xA;&gt;&#xA;&#xA;Making it a hard fork instead is changing one line of code (ignoring the&#xA;code to set up the flag day, which can be based on the code for BIP101). If&#xA;it comes down to it, then I&#39;ll do the work to change that one line. But&#xA;obviously I&#39;d need to see agreement from the maintainers that such a pull&#xA;req would be merged first.&#xA;&#xA;The example is this: find someone that accepts 1-block confirmed&#xA;transactions in return for something valuable. There are plenty of them out&#xA;there. Once the soft fork starts, send a P2SH transaction that defines a&#xA;new output controlled by OP_CLTV. It will be incorporated into the UTXO set&#xA;by all miners because it&#39;s opaque (p2sh).&#xA;&#xA;Now send a transaction that pays the merchant, and make it spend your&#xA;OP_CLTV output with an invalid script. New nodes will reject it as a rule&#xA;violator. Old nodes won&#39;t. So at some point an old miner will create a&#xA;block containing your invalid transaction, the merchant will think they got&#xA;paid, they&#39;ll give you the stuff and the fraud is done.&#xA;&#xA;&#xA;&gt; Please, don&#39;t assume 0 confirmation transactions or similar&#xA;&gt; unreasonable assumptions (ie see section 11 &#34;Calculations&#34; of the&#xA;&gt; Bitcoin whitepaper).&#xA;&gt;&#xA;&#xA;This is just embarrassing - do any of you guys at Blockstream actually use&#xA;Bitcoin in the real world? Virtually all payments that aren&#39;t moving money&#xA;into/out of exchange wallets are 0-confirm in reality. I described a&#xA;1-confirm attack above, but really ... come on.&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20151005/601a316d/attachment.html&gt;</html></oembed>