<div dir="ltr"><div class="gmail_extra">This is somewhat problematic in my use case since some parts need to be in the chain earlier than others and have the same ID as expected.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
<a href="https://bitcointalk.org/index.php?topic=260898.10">https://bitcointalk.org/index.php?topic=260898.10</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">I haven't gone back to see if there are any ways around it, but the main problem here is I need the Contract TX to be in the chain much earlier than redeeming, but I need the refund transaction to be in the chain much earlier. Perhaps there are some tricks to pull off to get it to work, but I haven't been working on this for a while so I'm a bit rusty in that area.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">This might be helpful enough to help a lot of use cases, but shouldn't be final.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Allen<br><br>
<div class="gmail_quote">On Wed, Feb 19, 2014 at 6:22 PM, Natanael <span dir="ltr"><<a href="mailto:natanael.l@gmail.com" target="_blank">natanael.l@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<p dir="ltr">Regarding chains of transactions intended to be published at once together, wouldn't it be easier to add a "only-mine-with-child flag"?</p>
<p dir="ltr">That way the parent transactions aren't actually valid unless spent together with the transaction that depends on it, and only the original will have a child referencing it.</p>
<p dir="ltr">Then malleability is not an issue at all for transaction chains if you only need to broadcast your full transaction chain once, and don't need to extend it in two or more occasions, *after* broadcasting subchains to the network, from the same set of pregenerated transactions.</p>
<p dir="ltr">If you need to broadcast pregenerated subchains separately, then you need the last child in the chain to be non-malleable. </p>
<p dir="ltr">This would require all miners to start to respect it at once in order to avoid forking the network. </p>
<p dir="ltr">- Sent from my phone</p>
<div class="gmail_quote">Den 19 feb 2014 22:13 skrev "Pieter Wuille" <<a href="mailto:pieter.wuille@gmail.com" target="_blank">pieter.wuille@gmail.com</a>>:<div><div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On Wed, Feb 19, 2014 at 9:28 PM, Michael Gronager <<a href="mailto:gronager@mac.com" target="_blank">gronager@mac.com</a>> wrote:<br>
> I think that we could guarantee fewer incidents by making version 1 transactions unmalleable and then optionally introduce a version 3 that supported the malleability feature. That way most existing problematic implementations would be fixed and no doors were closed for people experimenting with other stuff - tx v 3 would probably then be called experimental transactions.<br>
<br>
Just to be clear: this change is not directly intended to avoid<br>
"incidents". It will take way too long to deploy this. Software should<br>
deal with malleability. This is a longer-term solution intended to<br>
provide non-malleability guarantees for clients that a) are upgraded<br>
to use them b) willing to restrict their functionality. As there are<br>
several intended use cases for malleable transactions (the sighash<br>
flags pretty directly are a way to signify what malleabilities are<br>
*wanted*), this is not about outlawing malleability.<br>
<br>
While we could right now make all these rules non-standard, and<br>
schedule a soft fork in a year or so to make them illegal, it would<br>
mean removing potential functionality that can only be re-enabled<br>
through a hard fork. This is significantly harder, so we should think<br>
about it very well in advance.<br>
<br>
About new transaction and block versions: this allows implementing and<br>
automatically scheduling a softfork without waiting for wallets to<br>
upgrade. The non-DER signature change was discussed for over two<br>
years, and implemented almost a year ago, and we still notice wallets<br>
that don't support it. We can't expect every wallet to be instantly<br>
modified (what about hardware wallets like the Trezor, for example?<br>
they may not just be able to be upgraded). Nor is it necessary: if<br>
your software only spends confirmed change, and tracks all debits<br>
correctly, there is no need.<br>
<br>
--<br>
Pieter<br>
<br>
------------------------------------------------------------------------------<br>
Managing the Performance of Cloud-Based Applications<br>
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.<br>
Read the Whitepaper.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href="mailto:Bitcoin-development@lists.sourceforge.net" target="_blank">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></div></div>
<br>------------------------------------------------------------------------------<br>
Managing the Performance of Cloud-Based Applications<br>
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.<br>
Read the Whitepaper.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk</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></div></div>