{"type":"rich","version":"1.0","author_name":"npub1tsl0vdp4gegx6p7m073lphfl7zcrctud0qhutzf63up2h6r2kdcq99cyxz","author_url":"https://nostr.ae/npub1tsl0vdp4gegx6p7m073lphfl7zcrctud0qhutzf63up2h6r2kdcq99cyxz","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2023-05-23\n🗒️ Summary of this message: A discussion on the potential risks of using Lightning Network and Atomic Swap Protocol (ASP) for Bitcoin transactions without waiting for on-chain confirmations.\n📝 Original message:Do you have any write up that presents a fully detailed architecture,\nincluding mechanisms like bitcoin scripts, transactions and L2 protocols,\nand then derives claims from that base?\n\nOn Tue, May 23, 2023, 5:59 AM Burak Keceli via bitcoin-dev \u003c\nbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\n\u003e \u003e As the access to Lightning is also by the (same?) ASP, it seems to me\n\u003e that the ASP will simply fail to forward the payment on the broader\n\u003e Lightning network after it has replaced the in-mempool transaction,\n\u003e preventing recipients from actually being able to rely on any received\n\u003e funds existing until the next pool transaction is confirmed.\n\u003e\n\u003e Yes, that's correct. Lightning payments are routed through ASPs. ASP may\n\u003e not cooperate in forwarding HTLC(s) AFTER double-spending their pool\n\u003e transaction. However, it's a footgun if ASP forwards HTLC(s) BEFORE\n\u003e double-spending their pool transaction.\n\u003e\n\u003e What makes Ark magical is, in the collaborative case, users' ability to\n\u003e pay lightning invoices with their zero-conf vTXOs, without waiting for\n\u003e on-chain confirmations.\n\u003e\n\u003e This is the opposite of swap-ins, where users SHOULD wait for on-chain\n\u003e confirmations before revealing their preimage of the HODL invoice;\n\u003e otherwise, the swap service provider can steal users' sats by\n\u003e double-spending their zero-conf HTLC.\n\u003e _______________________________________________\n\u003e bitcoin-dev mailing list\n\u003e bitcoin-dev at lists.linuxfoundation.org\n\u003e https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev\n\u003e\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20230523/0870c6d9/attachment.html\u003e"}
