{"id":26021,"date":"2022-10-13T13:45:08","date_gmt":"2022-10-13T08:15:08","guid":{"rendered":"https:\/\/coinswitch.co\/switch\/?p=26021"},"modified":"2022-10-13T14:44:16","modified_gmt":"2022-10-13T09:14:16","slug":"crash-test-on-bitcoin-lightning-network-cause-nodes-to-fall-out-of-sync","status":"publish","type":"post","link":"https:\/\/coinswitch.co\/switch\/news\/crash-test-on-bitcoin-lightning-network-cause-nodes-to-fall-out-of-sync\/","title":{"rendered":"Crash test on Bitcoin Lightning Network causes nodes to fall out of sync"},"content":{"rendered":"<p>Lightning Network, a network meant to improve Bitcoin\u2019s efficiency, recently missed an entire block due to a complex multi-signature (multi-sig) transaction implemented as a crash test. This, in turn, caused the network\u2019s nodes to fall out of sync with Bitcoin, the blockchain it runs on.<\/p>\n<p>The incident confirms some of the fears developers have had about large transactions on the Lightning network. It is the closest the world\u2019s largest crypto, Bitcoin, has come to an outage.<\/p>\n<h2>What do we know about the transaction?<\/h2>\n<p>A multi-sig transaction by a <a href=\"https:\/\/coinswitch.co\/switch\/news\/new-peak-in-mining-difficulty-for-bitcoin\/\">Bitcoin<\/a> developer to test the network\u2019s limits was behind the development. Bitmatrix Founder, Burak Keceli created and executed a complex multi-sig transaction, which needed 998 keys out of the maximum of 999 for the transaction to go through. Normally, \u200b\u200bonly two signatures are required to spend funds on the network.<\/p>\n<p>The transaction went through on 9 October, costing Keceli just $4.90 in fees. It was validated and mined into a BTC block. Following this, users pointed out that they were unable to stay in sync with the Bitcoin network.<\/p>\n<h2>What caused the issue?<\/h2>\n<p>The issue occurred because, despite adding the block, the Lightning Network Daemon (LND, a full implementation of a Lightning Network node) failed to correctly identify the most recent Bitcoin block. There was a bug in the filter (parsing library) of a BTC implementation, dubbed btcd, which ended up referring to an old version of the code to check and validate the block.<\/p>\n<p>The CTO of Lightning Labs, Olaoluwa Osuntokun, took to <a href=\"https:\/\/twitter.com\/roasbeef\/status\/1579274303006474242?s=20\" target=\"_blank\" rel=\"noopener\">Twitter<\/a> to explain the matter. \u201cThe issue was in btcd\u2019s wire parsing library that deserializes raw blocks,\u201d he said, adding that \u201cdue to this bug LND wasn&#8217;t able to parse a new block, but was able to continue to forward as normal.\u201d<\/p>\n<p>However, requests to open new channels were rejected when the LND recognized that its internal wallet wasn\u2019t synced to the chain.<\/p>\n<p>The bug has been fixed and Lightning\u2019s node operators are once again able to sync with the Bitcoin network. However, the incident seems to have opened the community\u2019s eyes as far as sending large transactions is concerned.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lightning Network, a network meant to improve Bitcoin\u2019s efficiency, recently missed an entire block due to a complex multi-signature (multi-sig) transaction implemented as a crash test. This, in turn, caused the network\u2019s nodes to fall out of sync with Bitcoin, the blockchain it runs on. The incident confirms some of the fears developers have had [&hellip;]<\/p>\n","protected":false},"author":97,"featured_media":26022,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_ayudawp_aiss_exclude":false,"footnotes":""},"categories":[7701],"tags":[8546,8543,6467,6536],"class_list":["post-26021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-bitcoin-lightning-network","tag-bitcoin-network","tag-crypto","tag-news"],"acf":{"json_ld_schema":"\n[{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"@id\":\"https:\/\/coinswitch.co\/switch\/us-stocks\/wall-street-jottings\/#FAQPage\",\"headline\":\"Wall Street jottings: A personal, guided tour to investing in US stocks\",\"keywords\":\"Personal Guide, US Investing, \",\"datePublished\":\"2022-07-22T13:28:55+05:30\",\"dateModified\":\"2022-09-19T19:04:28+05:30\",\"dateCreated\":\"2022-07-22T13:28:55+05:30\",\"author\":{\"@type\":\"Person\",\"name\":\"Palak Malhotra\",\"description\":\"\",\"url\":\"https:\/\/coinswitch.co\/switch\/author\/palak\/\",\"sameAs\":[],\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a4eb1eaba29a875ba204825d6530ed2?s=96&d=mm&r=g\",\"height\":96,\"width\":96}},\"image\":[{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/coinswitch.co\/switch\/us-stocks\/wall-street-jottings\/#primaryimage\",\"url\":\"https:\/\/coinswitch.co\/switch\/wp-content\/uploads\/2022\/07\/Wall-Street-Jottings.jpg\",\"width\":\"1800\",\"height\":\"1080\"},{\"@type\":\"ImageObject\",\"url\":\"https:\/\/coinswitch.co\/switch\/wp-content\/uploads\/2022\/07\/Wall-Street-Jottings-1200x900.jpg\",\"width\":\"1200\",\"height\":\"900\"},{\"@type\":\"ImageObject\",\"url\":\"https:\/\/coinswitch.co\/switch\/wp-content\/uploads\/2022\/07\/Wall-Street-Jottings-1200x675.jpg\",\"width\":\"1200\",\"height\":\"675\"}]}]\n","json_ld_custom_schema":"","youtube_vodeo_url":"","seo":{"title":"","keywords":"","description":"","canonical":""},"blog_banner_image":false,"blog_coin":false,"download_the_app":{"button_value":"","button_url":""},"twitter_card":{"twitter_title":"","twitter_description":"","twitter_link":""},"maturity_tag":"","post_author":false,"guest_author":false,"hide_toc":true,"select_disclaimer":"Article Default Disclaimer","key_takeways":false},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/posts\/26021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/users\/97"}],"replies":[{"embeddable":true,"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/comments?post=26021"}],"version-history":[{"count":5,"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/posts\/26021\/revisions"}],"predecessor-version":[{"id":26037,"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/posts\/26021\/revisions\/26037"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/media\/26022"}],"wp:attachment":[{"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/media?parent=26021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/categories?post=26021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coinswitch.co\/switch\/wp-json\/wp\/v2\/tags?post=26021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}