<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 17, 2014 at 12:09 PM, Jorge Timón <span dir="ltr">&lt;<a href="mailto:jtimon@monetize.io" target="_blank">jtimon@monetize.io</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="HOEnZb"><div class="h5"><span style="color:rgb(34,34,34)">So it seems a new mode only makes sense if the -private mode makes</span><br>
</div></div>
sense, which in turn only makes sense to include in bitcoind if it&#39;s<br>
useful enough for the network attack simulations, which remains the<br>
open question.<br>
</blockquote></div><br>Unless I misunderstood what your private mode does, you can get the same</div><div class="gmail_extra">effect with -regtest by just controlling nodes connectivity. For example:</div><div class="gmail_extra">
<br></div><div class="gmail_extra">Start 2 nodes, connected to each other. Mine a -regtest chain they both agree on.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Restart them so they&#39;re not connected.  Have one mine normally,</div>
<div class="gmail_extra">have the other  mine... however you like to simulate some attack (deep chain re-org, double-spend,</div><div class="gmail_extra">whatever).</div><div class="gmail_extra"><div><br></div><div>To simulate launching the attack, connect them together again, let the two chains compete and see</div>
<div>what happens.</div><div><br></div><div>-- <br></div>--<br>Gavin Andresen<br>
</div></div>