From johanth at gmail.com Tue Jan 2 14:31:04 2018 From: johanth at gmail.com (=?UTF-8?Q?Johan_Tor=C3=A5s_Halseth?=) Date: Tue, 02 Jan 2018 15:31:04 +0100 Subject: [Lightning-dev] SegWit and LN In-Reply-To: References: Message-ID: <1c8601c9-43bb-420c-ad81-fa3cbddf1786@gmail.com> Hi, Before you can safely broadcast the funding transaction, the two parties involved in a channel must have signed a commitment transaction spending the output from the funding transaction. Without segwit, the funding transaction can be malleated, leaving the commitment transaction invalid, and funds locked up if one of the parties stops cooperating. Cheers, Johan On Tue, Jan 2, 2018 at 15:11, Hafeez Bana wrote: to fix transaction malleability On Tue, Jan 2, 2018 at 1:53 PM, Praveen Baratam < praveen.baratam at gmail.com [praveen.baratam at gmail.com] > wrote: Why is SegWit required for LN? If we wait for the funding transaction to be confirmed , we can then safely create and update unconfirmed commitment transactions... I don't see how SegWit is important here... Am I missing something? -- Dr. Praveen Baratam about.me [http://about.me/praveen.baratam] ? ______________________________ _________________ Lightning-dev mailing list Lightning-dev at lists. linuxfoundation.org [Lightning-dev at lists.linuxfoundation.org] https://lists.linuxfoundation. org/mailman/listinfo/ lightning-dev [https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev] _______________________________________________ Lightning-dev mailing list Lightning-dev at lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: