Relax constraints for inbound feerate updates on anchor channels
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 13 Jul 2023 23:03:32 +0000 (16:03 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 14 Jul 2023 21:49:56 +0000 (14:49 -0700)
commit1349ac8e2d1c220a425469721394d2dc8dcd33e4
tree158833c89374bbe275f204de0ddbf651fd023e06
parentdb3d58c586b9f2972414a07b09980db710428c7a
Relax constraints for inbound feerate updates on anchor channels

Channels supporting anchors outputs no longer require their feerate
updates to target a prompt confirmation since commitment transactions
can be bumped when broadcasting. Commitment transactions must now at
least meet the minimum mempool feerate, until package relay is deployed,
such that they can propagate across node mempools in the network by
themselves.

The existing higher bound no longer applies to channels supporting
anchor outputs since their HTLC transactions don't have any fees
committed, which directly impact the available balance users can send.
lightning/src/ln/channel.rs