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