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

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