<oembed><type>rich</type><version>1.0</version><title>Lloyd Fournier [ARCHIVE] wrote</title><author_name>Lloyd Fournier [ARCHIVE] (npub1kh…y05yp)</author_name><author_url>https://yabu.me/npub1khlhcuz0jrjwa0ayznq2q9agg4zvxfvx5x7jljrvwnpfzngrcf0q7y05yp</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2020-12-15&#xA;📝 Original message:&#xA;&gt; It seems difficult to recommend YOLO commitment transactions becoming&#xA;the standard way to recover funds. It could be preferable to the current&#xA;system but even that is up for debate I guess.&#xA;&gt; I feel like I can recommend oblivious settlements because (i) it&#39;s covert&#xA;(like YOLO commitments txs unlike current system) and (ii) it&#39;s  &#34;what you&#xA;see is what you get&#34; -- you are guaranteed to recover the funds that you&#xA;are presented with once you finally trigger the recovery&#xA;&#xA;Off list Dave correctly pointed out to me that this wasn&#39;t a very clear&#xA;picture of the situation.&#xA;After some thought, I came up with these claims that I think I can make&#xA;strongly:&#xA;&#xA;1. Before you reveal that you are doing recovery you are guaranteed to have&#xA;a tx in hand that:&#xA;     i. You can broadcast first&#xA;     ii. You can choose the fee to be as high as you like&#xA;     iii. Is not replaceable.&#xA;2. If the malicious party is *not* willing to risk broadcasting a revoked&#xA;tx then you are guaranteed to recover the face value of the transaction(s)&#xA;you have in hand.&#xA;3. An honest party is never at risk of broadcasting a revoked commitment tx.&#xA;4. You never have to reveal that you were doing a recovery i.e. the channel&#xA;can continue (strictly preferable to 1)&#xA;&#xA;Current system has: 3&#xA;Oblivious mutual close has: 1,2,3&#xA;YOLO commitments has: 1,5&#xA;&#xA;So I think the question of YOLO commitments vs oblivious mutual close is&#xA;whether paying the price of losing (2,3) is worth the upgrade from (1) to&#xA;(5).&#xA;The concern with (1) is that once you broadcast to the network the&#xA;obliviously transferred &#34;mutual close&#34; transaction, the malicious party&#xA;then has a hint that you have lost data and they can try and broadcast a&#xA;favourable revoked transaction.&#xA;This should be very hard since in (1) you broadcast first, can choose as&#xA;large a fee as you like and the tx does not signal replaceability whereas&#xA;the revoked tx *will* signal replaceability.&#xA;I&#39;m also personally trying to avoid losing (3) because to keep [1]&#xA;applicable.&#xA;&#xA;As a side note: in YOLO commitment transactions you have to recover some&#xA;additional metadata from the other party -- in particular the compressed&#xA;revocation keys that you *should* know otherwise the channel cannot&#xA;continue to operate. So a signature on the compressed revocation keys must&#xA;be given to the other party before you lose data and returned to you when&#xA;you are given the commitment transaction upon reconnection.&#xA;This should be easy enough to do though.&#xA;&#xA;[1]&#xA;https://github.com/LLFourn/witness-asymmetric-channel#scorched-earth-punishments&#xA;&#xA;On Tue, Dec 15, 2020 at 12:13 AM David A. Harding &lt;dave at dtrt.org&gt; wrote:&#xA;&#xA;&gt; &gt; The idea I&#39;m working with in revocable signature based channels [1] is&#xA;&gt; &gt; to make the node lose its static secret key if it posts a revoked&#xA;&gt; &gt; commitment tx. This means they could lose ALL funds from ALL their&#xA;&gt; &gt; channels with ALL their peers if they ever broadcast a single revoked&#xA;&gt; &gt; commitment transaction. This would be a very bad thing to happen while&#xA;&gt; &gt; you&#39;re trying to recover funds.&#xA;&gt;&#xA;&gt; Yikes!  A very bad thing indeed.  I&#39;ll have to re-read about witness&#xA;&gt; asymmetric channels; I don&#39;t think I realized that was a consequence of&#xA;&gt; using them.&#xA;&gt;&#xA;&#xA;It&#39;s an optional feature -- see link[1] above where I just added an&#xA;explanation of it.&#xA;I actually see no reason why you couldn&#39;t apply revocable signatures to&#xA;transaction asymmetric channels (LN as it is today) you just have to&#xA;overhaul the revocation mechanism.&#xA;&#xA;In general I agree with your points that side-channels may be effective&#xA;tools to reveal whether a node has had data loss or not.&#xA;I think in both YOLO commitments and oblivious mutual close it is easy&#xA;enough to simulate data-loss up to a point to try and catch malicious peers&#xA;using side channels.&#xA;At least you don&#39;t have to ask the peer to broadcast a tx to find out!&#xA;&#xA;Cheers,&#xA;&#xA;LL&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20201215/7b1e9210/attachment.html&gt;</html></oembed>