Thanks for writing this. It&#39;s great to see somebody run with the contracts protocol.<div><br></div><div>Your proposed protocol is simpler than the one I suggested, so I updated the Contracts wiki page to use it. However your implementation, as pointed out by Gavin, is too complicated. See my proposal on the wiki here:</div>
<div><br></div><div>  <a href="https://en.bitcoin.it/wiki/Contracts">https://en.bitcoin.it/wiki/Contracts</a></div><div><br></div><div>I think you can just use an output script of </div><div><br></div><div>  2 &lt;K1&gt; &lt;K2&gt; &lt;K3&gt; 3 CHECKMULTISIGVERIFY</div>
<div><br></div><div><br><br></div><div><div class="gmail_quote">On Thu, Jun 16, 2011 at 6:53 AM,  <span dir="ltr">&lt;<a href="mailto:bgroff@lavabit.com">bgroff@lavabit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a pull request here:<br>
<br>
<a href="https://github.com/bitcoin/bitcoin/pull/319" target="_blank">https://github.com/bitcoin/bitcoin/pull/319</a><br>
<br>
&gt;From the README:<br>
<br>
  Bitcoin &quot;escrow&quot; are coins that are under the control of multiple<br>
  parties.  The initial implementation allows n parties to vote, with<br>
  k good signatures needed (k &lt;= n).<br>
<br>
  This eliminates single points of failure and reduces the trust required<br>
  in many transaction use cases.<br>
<br>
Use cases include Escrow (without trusting the escrow agent with the<br>
coins), immediate payment and funds locked with multi-party signatures.<br>
<br>
This was inspired by <a href="https://forum.bitcoin.org/index.php?topic=8821.0" target="_blank">https://forum.bitcoin.org/index.php?topic=8821.0</a> and<br>
<a href="https://forum.bitcoin.org/index.php?topic=4723.msg68804" target="_blank">https://forum.bitcoin.org/index.php?topic=4723.msg68804</a> .<br>
<br>
Feedback on the pull is very much appreciated.<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
EditLive Enterprise is the world&#39;s most technically advanced content<br>
authoring tool. Experience the power of Track Changes, Inline Image<br>
Editing and ensure content is compliant with Accessibility Checking.<br>
<a href="http://p.sf.net/sfu/ephox-dev2dev" target="_blank">http://p.sf.net/sfu/ephox-dev2dev</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>
</blockquote></div><br></div>