<oembed><type>rich</type><version>1.0</version><title>Bastien TEINTURIER [ARCHIVE] wrote</title><author_name>Bastien TEINTURIER [ARCHIVE] (npub17f…ntr0s)</author_name><author_url>https://yabu.me/npub17fjkngg0s0mfx4uhhz6n4puhflwvrhn2h5c78vdr5xda4mvqx89swntr0s</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2021-06-29&#xA;📝 Original message:&#xA;Hi Rusty,&#xA;&#xA;On the eclair side, we instead send `funding_locked` as soon as we&#xA;see the funding tx in the mempool.&#xA;&#xA;But I think your proposal would work as well.&#xA;&#xA;We may want to defer sending `announcement_signatures` until&#xA;after the funding tx has been confirmed? What `min_depth` should&#xA;we use here? Should we keep a non-zero value in `accept_channel`&#xA;or should it be zero?&#xA;&#xA;Cheers,&#xA;Bastien&#xA;&#xA;&#xA;&#xA;Le mar. 29 juin 2021 à 07:34, Rusty Russell &lt;rusty at rustcorp.com.au&gt; a&#xA;écrit :&#xA;&#xA;&gt; Hi all!&#xA;&gt;&#xA;&gt;         John Carvalo recently pointed out that not every implementation&#xA;&gt; accepts zero-conf channels, but they are useful.  Roasbeef also recently&#xA;&gt; noted that they&#39;re not spec&#39;d.&#xA;&gt;&#xA;&gt; How do you all do it?  Here&#39;s a strawman proposal:&#xA;&gt;&#xA;&gt; 1. Assign a new feature bit &#34;I accept zeroconf channels&#34;.&#xA;&gt; 2. If both negotiate this, you can send update_add_htlc (etc) *before*&#xA;&gt;    funding_locked without the peer getting upset.&#xA;&gt; 3. Nodes are advised *not* to forward HTLCs from an unconfirmed channel&#xA;&gt;    unless they have explicit reason to trust that node (they can still&#xA;&gt;    send *out* that channel, because that&#39;s not their problem!).&#xA;&gt;&#xA;&gt; It&#39;s a pretty simple change, TBH (this zeroconf feature would also&#xA;&gt; create a new set of channel_types, altering that PR).&#xA;&gt;&#xA;&gt; I can draft something this week?&#xA;&gt;&#xA;&gt; Thanks!&#xA;&gt; Rusty.&#xA;&gt; _______________________________________________&#xA;&gt; Lightning-dev mailing list&#xA;&gt; Lightning-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20210629/a9f7eb76/attachment.html&gt;</html></oembed>