<p dir="ltr">All miners should validate transactions precisely because of the latest attack you&#39;ve described. Full miners can gain a lot from this attack to leverage their full validation against spv miners who blindly spend energy hashing on top of something that may be worthless crap. SPV mining makes no sense, but some miners claim they&#39;re doind it for very short periods of time, which shouldn&#39;t be as bad as doing it all the time.<br></p>
<p dir="ltr">I think it would be more rational for them to keep mining on top of the old block until they&#39;ve fully validated the new block (which shouldn&#39;t take so long anyway), even if this slightly increases the orphan rate.</p>
<div class="gmail_quote">On Jul 11, 2015 10:05 AM, &quot;Nathan Wilcox&quot; &lt;<a href="mailto:nathan@leastauthority.com">nathan@leastauthority.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thesis: The disincentive miners have for verifying transactions is<br>problematic and weakens the network&#39;s robustness against forks.<br><br>According to the 2015-07-04 <a href="http://bitcoin.org" target="_blank">bitcoin.org</a> alert [1]_ so-called &quot;SPV Mining&quot;<br>has become popular across a large portion of miners, and this enabled the<br>consensus-violating forks to persist. Peter Todd provides an explanation<br>of the incentive for SPV Mining over in another thread [2]_.<br><br>.. [1] <a href="https://bitcoin.org/en/alert/2015-07-04-spv-mining#cause" target="_blank">https://bitcoin.org/en/alert/2015-07-04-spv-mining#cause</a><br><br>.. [2] <a href="https://www.mail-archive.com/bitcoin-dev@lists.linuxfoundation.org/msg00404.html" target="_blank">https://www.mail-archive.com/bitcoin-dev@lists.linuxfoundation.org/msg00404.html</a><br><br>If there is a cost to verifying transactions in a received block, then<br>there is an incentive to *not verify transactions*.  However, this is<br>balanced by the a risk of mining atop an invalid block.<br><br>If we imagine all miners verify all transactions, except Charlie the<br>Cheapskate, then it&#39;s in Charlie&#39;s interest to forego transaction<br>verification.  If all miners make a similar wager, then in the extreme,<br>no miners verify any transactions, and the expected cost of skipping<br>transaction verification becomes very high.<br><br>Unfortunately, it&#39;s difficult to measure how many miners are not<br>validating transactions, since there&#39;s no evidence of this until they<br>mine atop on invalid block. Because of this, I worry that over time,<br>more and more miners cut this particular corner, to save on costs.<br><br>If true, then the network continues to grow more brittle towards the kind<br>of forking-persistence behavior we saw from the July 4th (and 5th) forks.<br><br>This gets weird.  For example, a malicious miner which suspects a large<br>fraction of miners are neglecting transaction verification may choose to<br>forego a block reward by throwing an erroneous transaction into their<br>winning block, then, as all the &quot;SPV Miners&quot; run off along a worthless<br>chain, they can reap a higher reward rate due to controlling a larger<br>network capacity fraction on the valid chain.<br><br>Can we fix this?<br><br>--<br>Nathan Wilcox<br>Least Authoritarian<br><br>email: <a href="mailto:nathan@leastauthority.com" target="_blank">nathan@leastauthority.com</a><br>twitter: @least_nathan<br><br>Standard Disclaimer: I&#39;m behind on dev archives, irc logs, bitcointalk,<br>the wiki...  if this has been discussed before I appreciate mentions of<br>that fact.<br><br></div>
<br>_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a><br>
<br></blockquote></div>