CPFP Carve-Out for Fee-Prediction Issues in Contracting Applications (eg Lightning)



Summary:

The discussion pertains to the addition of a carve-out rule in the bitcoind 0.19 release, which affects on-chain contracts such as Lightning commitment transactions. The original rule required at least one non-CSV output per party, but the new rule allows for CPFP-ing the commitment as long as there is an output available without any descendants. Johan Torås Halseth suggests relaxing the current mempool limits to avoid the need for adding a 1 CSV to all outputs and instead proposes a new rule where the last transaction added to a package of dependent transactions in the mempool must have no more than one unconfirmed parent. Matt Corallo explains that this would allow adding a large transaction to each output of the unconfirmed parent, which could potentially exceed the MAX_PACKAGE_VIRTUAL_SIZE limit. Rusty Russell suggests a simplified RBF approach that only allows replacement if the feerate is higher, the new transaction is in the first 4Msipa of the mempool, and the old transaction isn't.


Updated on: 2023-06-13T15:50:01.021538+00:00