<div dir="ltr">I agree with Gregory Maxwell, I don&#39;t think it would be as easy as just changing IsCoinBase(), since there are places where the code assumes that the coinbase&#39;s vin doesn&#39;t spend any prevouts and/or has size 1. For example, <a href="https://github.com/bitcoin/bitcoin/blob/v0.9.3/src/main.cpp#L617-620">here</a> and <a href="https://github.com/bitcoin/bitcoin/blob/v0.9.3/src/main.cpp#L785-L808">here</a>. <div><br><div>I think the motivation behind the original suggestion is to have a way to pay specific miners upon solving a block without risking possibly paying other miners through pay-to-fee. What I&#39;m not sure about, though, is why not just send them a transaction once you see that the miner has solved a block? Not a pay-to-fee transaction, a pay to pubkeyhash or whatever type of transaction you need to make to send the miner some coins.<div><div><br></div><div>Although I don&#39;t completely understand the motivation for making such transactions, maybe this would this work. Have outputs in the coinbase transaction which have nValue == 0, then only apply the COINBASE_MATURITY rule to spending coinbase outputs which have non-zero value. That way you could make a transactions which is only valid after the miner specified solves a block with the coinbase having the same TxID referenced by the new transaction&#39;s input. It&#39;s still a hard fork, but might be easier than allowing the coinbase to spend prevouts. I guess, at that point though, why not just hard fork to allow the coinbase to spend prevouts...</div><div><br></div><div>Best,</div><div>Stephen</div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 30, 2014 at 1:28 PM, Gregory Maxwell <span dir="ltr">&lt;<a href="mailto:gmaxwell@gmail.com" target="_blank">gmaxwell@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Dec 30, 2014 at 4:25 PM, Sergio Lerner<br>
&lt;<a href="mailto:sergiolerner@certimix.com">sergiolerner@certimix.com</a>&gt; wrote:<br>
&gt; Slight off-topic:<br>
&gt; That looks like an abuse of the VM. Even P2SH is an abuse of the VM.<br>
&gt; Gavin&#39;s OP_EVAL (hard-fork) should had been chosen. I&#39;m taking about a<br>
&gt; simple change that goes along the lines of Satoshi&#39;s original design.<br>
&gt; Bitcoin was a beautiful design, and extra complexity is making it ugly.<br>
&gt; We need Bitcoin to be simple to understand for new programmers so they<br>
&gt; can keep the project going. It doesn&#39;t help the project that one needs<br>
&gt; to be a guru to code for Bitcoin.<br>
<br>
</span>Sergio there is no &quot;abuse&quot; there,  OP_NOP3 in that case would be<br>
redefined to OP_COINBASE_FOO_CONSISTENCY.<br>
<br>
(I say FOO because it&#39;s not clear what rule you actually hope to apply there.)<br>
<br>
What you suggested has no purpose by itself: it would need an<br>
additional change which overlays functionality in order to actually do<br>
something. Such a change would likely be &quot;ugly&quot;-- it&#39;s easy to be<br>
elegant when you do nothing.<br>
<div class="HOEnZb"><div class="h5"><br>
------------------------------------------------------------------------------<br>
Dive into the World of Parallel Programming! The Go Parallel Website,<br>
sponsored by Intel and developed in partnership with Slashdot Media, is your<br>
hub for all things parallel software development, from weekly thought<br>
leadership blogs to news, videos, case studies, tutorials and more. Take a<br>
look and join the conversation now. <a href="http://goparallel.sourceforge.net" target="_blank">http://goparallel.sourceforge.net</a><br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href="mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/bitcoin-development" target="_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-development</a><br>
</div></div></blockquote></div><br></div>