<oembed><type>rich</type><version>1.0</version><author_name>npub1ncnj8arudstdxzfhxk7k4nwgkrw3hyw8sgt0wqqmm5hh2c4knmgs2lqt2n</author_name><author_url>https://nostr.ae/npub1ncnj8arudstdxzfhxk7k4nwgkrw3hyw8sgt0wqqmm5hh2c4knmgs2lqt2n</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2018-02-08&#xA;📝 Original message:&#xA;If using two hashes to deliver the payment while still getting a proof, I&#39;m&#xA;not sure what that provides above just sending regular lightning payments&#xA;over multiple routes with one hash. Firstly, if there is a second hash, it&#xA;would presumably be the same for all routes, making them linkable again,&#xA;which AMP tries to solve. And secondly, the receiver has no incentive to&#xA;claim any of the HTLCs before all of them are locked in, because in that&#xA;case they are releasing the transaction receipt before fully being paid.&#xA;&#xA;On Thu, Feb 8, 2018 at 8:41 AM, Johan Torås Halseth &lt;johanth at gmail.com&gt;&#xA;wrote:&#xA;&#xA;&gt; An obvious way to make this compatible with proof-of-payment would be to&#xA;&gt; require two hashes to claim the HTLC: the presage from the invoice payment&#xA;&gt; hash (as today) + the new hash introduced here. This would give the sender&#xA;&gt; a receipt after only one of the HTLCs was claimed. Would require changes to&#xA;&gt; the scripts of course.&#xA;&gt;&#xA;&gt; With Schnorr/EC operations this could probably be made more elegant, as&#xA;&gt; mentioned.&#xA;&gt;&#xA;&gt; - Johan&#xA;&gt; On Wed, Feb 7, 2018 at 18:21, Rusty Russell &lt;rusty at rustcorp.com.au&gt; wrote:&#xA;&gt;&#xA;&gt; Olaoluwa Osuntokun &lt;laolu32 at gmail.com&gt; writes:&#xA;&gt; &gt; Hi Y&#39;all,&#xA;&gt; &gt;&#xA;&gt; &gt; A common question I&#39;ve seen concerning Lightning is: &#34;I have five $2&#xA;&gt; &gt; channels, is it possible for me to *atomically* send $6 to fulfill a&#xA;&gt; &gt; payment?&#34;. The answer to this question is &#34;yes&#34;, provided that the&#xA;&gt; receiver&#xA;&gt;&#xA;&gt; This is awesome! I&#39;m kicking myself for not proposing it :)&#xA;&gt;&#xA;&gt; Unfortunately, your proposal defines a way to make multipath donations,&#xA;&gt; not multipath payments :(&#xA;&gt;&#xA;&gt; In other words, you&#39;ve lost proof of payment, which IMHO is critical.&#xA;&gt;&#xA;&gt; Fortunately, this can be fairly trivially fixed when we go to scriptless&#xA;&gt; scripts or other equivalent decorrelation mechanism, when I think this&#xA;&gt; mechanism becomes extremely powerful.&#xA;&gt;&#xA;&gt; &gt; - Potential fee savings for larger payments, contingent on there being a&#xA;&gt; &gt; super-linear component to routed fees. It&#39;s possible that with&#xA;&gt; &gt; modifications to the fee schedule, it&#39;s actually *cheaper* to send&#xA;&gt; &gt; payments over multiple flows rather than one giant flow.&#xA;&gt;&#xA;&gt; This is a stretch. I&#39;d stick with the increased reliability/privacy&#xA;&gt; arguments which are overwhelmingly compelling IMHO.&#xA;&gt;&#xA;&gt; If I have any important feedback on deeper reading (and after a sccond&#xA;&gt; coffee), I&#39;ll send a separate email.&#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;&gt;&#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;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20180208/31041639/attachment.html&gt;</html></oembed>