Skip to content

Commit

Permalink
signer: Increase the feerate for commitment TXs and warn on failure
Browse files Browse the repository at this point in the history
This should get the couple of nodes that are stuck on a large
commitment TX fee unstuck. We triple the feerate in order to not run
into the deadlock, and we make the policy failure a warning instead.

Once VLS reimplements the per-payment fee budget we should be able to
tighten these again.
  • Loading branch information
cdecker committed Dec 20, 2024
1 parent 31534cd commit 9214996
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libs/gl-client/src/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ impl Signer {
],
});

// TODO Remove this once VLS has implemented the fee budget
// per payment, rather than the fee budget per HTLC.
// Ref: https://github.com/Blockstream/greenlight/issues/538
{
policy.max_feerate_per_kw = 75_000;
policy.filter.merge(PolicyFilter {
rules: vec![FilterRule::new_warn("policy-commitment-fee-range")],
});
}

policy.filter.merge(PolicyFilter {
// TODO: Remove once we have implemented zero invoice support
rules: vec![
Expand Down

0 comments on commit 9214996

Please sign in to comment.