Bitcoin Explained - The Technical Side of Bitcoin

Episode 38: The Replace-By-Fee Bug Affecting Child Transactions In Bitcoin Core


Listen Later

In this Episode of The Van Wirdum Sjorsnado, hosts Aaron van Wirdum and Sjors Provoost discuss CVE-2021-31876, a bug in the Bitcoin Core code that affects replace-by-fee (RBF) child transactions.

The CVE (Common Vulnerabilities and Exposures) system offers an overview of publicly known software bugs. A newly discovered bug in the Bitcoin Core code was recently discovered and disclosed by Antoine Riard, and added to the CVE overview.

Aaron and Sjors explain that the bug affects how RBF logic is handled by the Bitcoin Core software. When one unconfirmed transaction includes an RBF flag (which means it should be considered replaceable if a conflicting transaction with a higher fee is broadcast over the network) any following transaction that spends coins from the original transaction should also be considered replaceable — even if the second transaction doesn’t itself have an RBF flag. Bitcoin Core software would not do this, however, which means the second transaction would in fact not be considered replaceable.

This is a fairly innocent bug; in most cases the second transaction will still confirm eventually, while there are also other solutions to speed confirmation up if the included fee is too low. But in very specific cases, like some fallback security mechanisms on the Lightning Network, the bug could in fact cause complications. Aaron and Sjors try to explain what such a scenario would look like — badly.

...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

776 Listeners

Bitcoin Audible by Guy Swann

Bitcoin Audible

432 Listeners

The Bitcoin Standard Podcast by Dr. Saifedean Ammous

The Bitcoin Standard Podcast

434 Listeners

Stephan Livera Podcast by Stephan Livera

Stephan Livera Podcast

401 Listeners

On The Brink with Castle Island by Castle Island Ventures

On The Brink with Castle Island

291 Listeners

What Bitcoin Did by Danny Knowles

What Bitcoin Did

265 Listeners

Swan Signal Live - A Bitcoin Show by Swan Bitcoin

Swan Signal Live - A Bitcoin Show

186 Listeners

The Bitcoin Matrix by Cedric Youngelman

The Bitcoin Matrix

85 Listeners

Coin Stories by Natalie Brunell

Coin Stories

445 Listeners

Rabbit Hole Recap by ODELL and Marty Bent

Rabbit Hole Recap

122 Listeners

The Jack Mallers Show by Jack Mallers

The Jack Mallers Show

124 Listeners

Bitcoin for Millennials by Bram Kanstein

Bitcoin for Millennials

24 Listeners

Simply Bitcoin by Simply Bitcoin

Simply Bitcoin

104 Listeners

THE Bitcoin Podcast by Walker America

THE Bitcoin Podcast

46 Listeners

Bitcoin Optech Podcast by Bitcoin Optech

Bitcoin Optech Podcast

2 Listeners