<div class="gmail_quote">On Tue, Oct 25, 2011 at 10:49 AM, Gregory Maxwell <span dir="ltr">&lt;<a href="mailto:gmaxwell@gmail.com">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;">
<div class="im">On Tue, Oct 25, 2011 at 9:21 AM, Gavin Andresen &lt;<a href="mailto:gavinandresen@gmail.com">gavinandresen@gmail.com</a>&gt; wrote:<br>
&gt; You give the hash to whoever is paying you, and store the hash --&gt;<br>
&gt; script  mapping when you do that (assuming you&#39;re not using a<br>
&gt; deterministic wallet; if you are, you probably just increment a<br>
&gt; counter in the wallet).<br>
<br>
</div>If anyone finds that solution unsatisfying, consider— It&#39;s already the<br>
case that I could take one of your disclosed public keys and create an<br>
infinite series of secondary keys out of it for which only you could<br>
decode, and the only way for you to find them in the blockchain would<br>
be to have performed the same procedure and made a note of the<br>
addresses you&#39;re watching for.<br><br></blockquote><div><br></div><div>(1) As I understand it, OP_EVAL is being proposed as an *optional* tool for multi-signature transactions.  It sounds like to me, that you can still use the regular OP_CHECKMULTISIG if you are concerned about these things.  If you&#39;re dealing with too many parties with questionable reliability that they will notify you of transacitons that include you, I don&#39;t see anything wrong with declaring that you&#39;d only prefer dealing with OP_CMS transactions and not OP_EVAL (besides some grumbling from them that their way is &quot;better&quot;).   Either way, they&#39;re screwing themselves, too, if they want to include you on transactions and don&#39;t notify you as such (kind of defeats the purpose of multi-sig txs).</div>
<div><br></div><div>(2) I think it&#39;s unnecessary to discuss cases where you somehow lose your mappings but not your private keys.  In order for OP_EVAL scripts to work, the subscripts/mappings are *just as important* as your regular private keys.  They should be kept in your wallet forever just like your private keys--and thus you lose none of them or all of them.  The only real difference is that they aren&#39;t sensitive like your private keys, so they don&#39;t have to be encrypted.</div>
<div><br></div><div>(3) There should most definitely be a button on the main client that allows you to &quot;Add OP_EVAL script&quot; or something along those lines (maybe something with a less obscure name).  We need to make it as easy as possible for someone to add such a script/mapping to their wallet.  Although, this invites a breach of one of my core rules of user interfaces:  if the functionality is dependent on the user performing some regular maintenance task, you better be prepared for all users to fail at doing it.  Even diligent users are going to forget/mess-up sometimes.  If failure at performing this task results in breaking the client or losing money, we should avoid promoting that usage paradigm.</div>
</div><br>