Just brainstorming here, no idea if this would work:<br><ul><li>Pick any old block</li><li>Create a chain fork by creating simpler blocks on top of your chosen one</li><li>The chain will not be accepted by others</li><li>At some point you might find an incredibly hard block that makes your forked chain the hardest one in the network</li>

<li>Suddenly all your blocks are valid and you force people to switch to your forked chain</li></ul>If this is possible it would allow you to revoke all transactions and claim all the mined coins since you forked. My point is that the notion of hardest chain is not so simple.<br>

<br>The difficulty of invalidating a chain is dramatically reduced with your time window approach, by not requiring a given difficulty, and relying on synchronized time windows.<br><br>Regards,<br>Chris<br><br><div class="gmail_quote">

On Wed, Nov 23, 2011 at 2:13 PM, Andy Parkins <span dir="ltr">&lt;<a href="mailto:andyparkins@gmail.com">andyparkins@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;">

<div class="im">On 2011 November 23 Wednesday, Christian Decker wrote:<br>
<br>
&gt; The current block generation with a fixed difficulty was chosen because it<br>
&gt; it clear when to adjust and to what target difficulty it has to be<br>
&gt; adjusted. If we were to use synchronized time windows and select the<br>
&gt; hardest block it gets incredibly complicated as synchronization is not<br>
&gt; possible in distributed systems. Even the smallest drift would allow for<br>
&gt; forks in the chain all over the place. Furthermore the delay in propagation<br>
&gt; will also cause forks.<br>
&gt;<br>
&gt; If 1/2 of the network see one block as the hardest, and for the rest of the<br>
&gt; network it came too late then we&#39;ll have a fork that stays with us quite a<br>
&gt; while.<br>
&gt;<br>
&gt; The block chain is described as a timestamp server in the paper, but it is<br>
&gt; more of a proof-of-existence before, as the contained timestamp cannot be<br>
&gt; trusted anyway.<br>
<br>
</div>These are reasonable objections.  My counter is this:<br>
<br>
Let&#39;s view block difficulty as a measure of time, not time itself.  The<br>
timestamp is merely a convenience for the block.  You cannot fake the<br>
computing power needed for a particular difficulty; so the hardest chain<br>
always wins (note: hardest chain).<br>
<br>
If I am a miner, I have two choices:<br>
<br>
  (a) try to replace the top block on the current hardest chain<br>
  (b) try to append to the current hardest chain<br>
<br>
Either of these is acceptable; but in case (a) I have to generate a more<br>
difficult block to replace it; in case (b), at the start of the window, any<br>
difficulty is acceptable (however, I&#39;m competing with other miners, so _any_<br>
difficulty won&#39;t beat them).<br>
<br>
The rule then is that you&#39;re trying to win the one block reward that is<br>
available every 10 minutes; and your peers will be rejecting blocks with<br>
timestamps that are lies.<br>
<br>
Perhaps an example...<br>
<br>
 - I (a node), download the blockchain<br>
 - The blockchain has N potential heads.  Each of those heads has a time, t<br>
   and a sum_of_difficulty.<br>
 - The next block reward is going to go to the highest difficulty with<br>
   t &lt; timestamp &lt; (t + T) _and_ verified timestamp (i.e. not received more<br>
   than, say 5 minutes, from its claimed timestamp).<br>
 - I can choose any head to start generating from, but given that it&#39;s the<br>
   highest difficulty chain that&#39;s going to win the next reward (not the<br>
   highest difficulty block), I will surely pick the most difficult?<br>
 - A rogue miner then issues a block with a fake timestamp; it actually<br>
   generated at (t + T + 5) but claims (t + 5).  Should I start using<br>
   that block as my new head?  Obviously not, because my peers might decide<br>
   that it is a lie and reject it because it was received too late, making my<br>
   work useless.  It is in my interest to pick a head that is honest.<br>
<br>
Resolving forks is easy:<br>
<br>
 - 50 coins every ten minutes only<br>
 - most difficult chain wins<br>
<br>
I&#39;m certainly not saying it&#39;s a simple change.  There are certainly areas I<br>
haven&#39;t thought about, and could be game-overs; but I do like the idea of<br>
there being no target difficulty, and instead the blocks are issued at a fixed<br>
ten minute rate (or rather the rewards are).<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Andy<br>
<br>
--<br>
Dr Andy Parkins<br>
<a href="mailto:andyparkins@gmail.com">andyparkins@gmail.com</a><br>
</div></div><br>------------------------------------------------------------------------------<br>
All the data continuously generated in your IT infrastructure<br>
contains a definitive record of customers, application performance,<br>
security threats, fraudulent activity, and more. Splunk takes this<br>
data and makes sense of it. IT sense. And common sense.<br>
<a href="http://p.sf.net/sfu/splunk-novd2d" target="_blank">http://p.sf.net/sfu/splunk-novd2d</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>
<br></blockquote></div><br>