Bitcoin Explained - The Technical Side of Bitcoin

Episode 66: The BTCD Bug That Brought Down LND Nodes


Listen Later

In this episode of Bitcoin, Explained, hosts Aaron van Wirdum and Sjors Provoost discuss a recent bug in the btcd Bitcoin implementation that affected a large part of the Lightning network, as it disconnected lnd Lightning nodes from the Bitcoin blockchain.

 

In the episode, Aaron and Sjors explain that a developer going by the name Burak on Twitter created a 998-of-999 multisig transaction by leveraging Taproot. Although this was a valid transaction, btcd and lnd nodes rejected it, and therefore rejected the block that included the transaction and all blocks that came after it.

 

Specifically, Sjors explains, btcd rejected the transaction because it has a maximum limit on how much witness data a Segwit transaction can include. Although other Bitcoin implementations do enforce this limit on Segwit version 0 transactions, Segwit version 1 (that is, Taproot) transactions have no such limit.

 

Still, it is a bit unclear why this bug in btcd seemingly also affected many lnd Lightning nodes which use Bitcoin Core rather than btcd to validate blocks. In the second half of the episode, Sjors speculates how the two may be connected.

 

Finally, Aaron and Sjors explain how the Lightning Network is affected when Lightning nodes reject the Bitcoin blockchain.

 

Lower your time preference and lock-in your BITCOIN 2023 conference tickets today! Use the code BMLIVE for a 10% Discount! 

https://b.tc/conference/2023

Use promocode: BMLIVE for 10% off everything in our store!

https://store.bitcoinmagazine.com/

...more
View all episodesView all episodes
Download on the App Store

Bitcoin Explained - The Technical Side of BitcoinBy Van Wirdum Sjorsnado

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

18 ratings


More shows like Bitcoin Explained - The Technical Side of Bitcoin

View all
TFTC: A Bitcoin Podcast by Marty Bent

TFTC: A Bitcoin Podcast

765 Listeners

The Peter McCormack Show by Peter McCormack

The Peter McCormack Show

2,161 Listeners

Bitcoin Audible by Guy Swann

Bitcoin Audible

426 Listeners

The Bitcoin Standard Podcast by Dr. Saifedean Ammous

The Bitcoin Standard Podcast

442 Listeners

Stephan Livera Podcast by Stephan Livera

Stephan Livera Podcast

410 Listeners

The Pomp Podcast by Anthony Pompliano

The Pomp Podcast

1,834 Listeners

What Bitcoin Did by Danny Knowles

What Bitcoin Did

251 Listeners

Swan Signal Live - A Bitcoin Show by Swan Bitcoin

Swan Signal Live - A Bitcoin Show

178 Listeners

The Bitcoin Matrix by Cedric Youngelman

The Bitcoin Matrix

82 Listeners

Coin Stories by Natalie Brunell

Coin Stories

414 Listeners

Rabbit Hole Recap by ODELL and Marty Bent

Rabbit Hole Recap

119 Listeners

THE Bitcoin Podcast by Walker America

THE Bitcoin Podcast

35 Listeners

The Jack Mallers Show by Jack Mallers

The Jack Mallers Show

107 Listeners

Bitcoin for Millennials by Bram Kanstein

Bitcoin for Millennials

20 Listeners

The Bitcoin Frontier by Unchained Capital, Inc

The Bitcoin Frontier

36 Listeners