Lightning Network developers fix critical bug that caused node downtime

Quick Take

  • A Lightning Network user made a complex transaction that, due to a bug in the code, led to downtime for some Lightning nodes.
  • Lightning Labs has implemented an emergency fix.
 

Developers of Bitcoin's Lightning Network have issued a fix for a critical bug that led to downtime for some nodes.

The fix came after a user, identified as Bitmatrix founder Burak Keceli, made a large 998-of-999 multi-signature Taproot transaction — one that required 998 private key signatures to send the bitcoin. This was an abnormally large number of signers, and Lightning nodes failed to support the multisig transaction of that size.

Lightning Labs said the transaction triggered a series of events that completely disrupted the ability for nodes on the network to sync with each other, though it did not result in a loss of funds. As soon as the transaction was made, the network’s nodes rejected the specific block that included it, as well as subsequent blocks that came after it.

Keceli made the same kind of transaction last month, causing similar issues for the network — although due to a slightly different bug.

THE SCOOP

Keep up with the latest news, trends, charts and views on crypto and DeFi with a new biweekly newsletter from The Block's Frank Chaparro

By signing-up you agree to our Terms of Service and Privacy Policy
By signing-up you agree to our Terms of Service and Privacy Policy

Keceli knew in advance their transaction would disrupt the network. Rather than disclosing the security bug in a responsible disclosure practice called CVE, short for Common Vulnerabilities and Exposures, Keceli proceeded to make the transaction anyway. He defended his actions, claiming the act was for the “ultimate good.”

"As a Bitcoin wizard, I summoned chaos theory in the name of darkness for the latter good," said Keceli in a tweet. "Responsible CVE is weaker magic," he added.

The Lightning Network is a Layer 2 network designed to get around Bitcoin’s slow transaction speeds and high fees. Users can port bitcoin to Lightning and transact with each other via payment channels at a significantly cheaper price than on the main network. Currently, there is 5,000 bitcoin ($100 million) locked in payment channels, per data from The Block.


© 2023 The Block. All Rights Reserved. This article is provided for informational purposes only. It is not offered or intended to be used as legal, tax, investment, financial, or other advice.

About Author

Vishal Chawla is The Block’s crypto ecosystems editor and has spent over six years covering tech protocols, cybersecurity, artificial intelligence and cloud computing. Vishal likes to delve deep into blockchain intricacies to ensure readers are well-informed about the continuously evolving crypto landscape. He is also a staunch advocate for rigorous security practices in the space. Before joining The Block, Vishal held positions at IDG ComputerWorld, CIO, and Crypto Briefing. He can be reached on Twitter at @vishal4c and via email at [email protected]

Editor

To contact the editors of this story:
Tim Copeland at
[email protected]
Adam James at
[email protected]