Commit e71998f
committed
fix: bypass feerate floor for cooperative close minimum
Use the raw fee estimator for ChannelCloseMinimum instead of
bounded_sat_per_1000_weight to avoid the FEERATE_FLOOR_SATS_PER_KW
(253 sat/kwu) clamp. This prevents cooperative close negotiation
from failing when the counterparty proposes a fee below the relay
fee floor, which is common on signet/testnet and can occur on
mainnet during low-fee periods.
The floor is set to FEERATE_FLOOR / 2 (126 sat/kwu) as a safety
net while still accepting proposals well below the standard floor.1 parent 37f66f3 commit e71998f
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
10150 | 10151 | | |
10151 | 10152 | | |
10152 | 10153 | | |
10153 | | - | |
10154 | | - | |
| 10154 | + | |
| 10155 | + | |
| 10156 | + | |
| 10157 | + | |
| 10158 | + | |
| 10159 | + | |
| 10160 | + | |
| 10161 | + | |
| 10162 | + | |
10155 | 10163 | | |
10156 | 10164 | | |
10157 | 10165 | | |
| |||
0 commit comments