Add anchor output to the commitment transaction #3587
Labels
advanced
Issues suitable for very experienced developers
chain handling
channels
commitments
Commitment transactions containing the state of the channel
fees
Related to the fees paid for transactions (both LN and funding/commitment transactions)
Milestone
In the current commitment format, the miner fee is negotiated through the
update_fee
message. This creates several complications:to_local
output timelocked and can't use that to cpfp the transaction.A possible solution (originally proposed by @halseth on the lightning-dev mailing list) is to add a so called anchor output to the commitment transaction. This is a non-timelocked output that can be used to cpfp the transaction in order to get it confirmed.
With the anchor output present, the fee on the commitment transaction itself can be minimal as both parties have the opportunity to attach additional fees.
The text was updated successfully, but these errors were encountered: