core-lightning/channeld
Rusty Russell f9d02b6486 channeld: fix update_fee cap.
We would sometimes propose fees which we couldn't afford, and thus the
peer would get upset: if we didn't recover it could cause force closes.

This was because we didn't take into account that pending htlcs will
remove our total available funds.

Changelog-Fixes: Protocol: Don't upset peers by sending `update_fee` with fees we cannot afford in the case where HTLCs are large.
2024-02-13 15:47:48 +01:00
..
test channeld: tell lightningd about local anchor for each commitment tx. 2023-10-27 11:19:56 +10:30
channeld.c fixup! splice: Add support for tx_abort to channeld 2024-02-11 10:46:23 +01:00
channeld.h channeld: simply exit if hsmd vanishes. 2022-02-08 11:15:52 +10:30
channeld_htlc.h channeld: remove dead HTLCs from htable and free them (eventually) 2023-01-20 14:04:08 -06:00
channeld_wire.csv lightningd: Add tx_abort routine to lightningd 2024-02-11 10:46:23 +01:00
commit_tx.c channeld: have commit_tx tell is what output was the other's anchor. 2023-10-27 11:19:56 +10:30
commit_tx.h channeld: have commit_tx tell is what output was the other's anchor. 2023-10-27 11:19:56 +10:30
full_channel.c channeld: fix update_fee cap. 2024-02-13 15:47:48 +01:00
full_channel.h channeld: tell lightningd about local anchor for each commitment tx. 2023-10-27 11:19:56 +10:30
full_channel_error.h dusty-htlcs: enforce limit on dusty htlcs 2021-10-23 12:59:13 +02:00
inflight.c splice: Reestablish when commit or sig sends fail 2023-11-20 07:35:22 +01:00
inflight.h splice: Reestablish when commit or sig sends fail 2023-11-20 07:35:22 +01:00
Makefile common: remote private_channel_announcement.[ch]. 2024-01-31 14:47:33 +10:30
splice.c splice: Add support for out-of-bound tx_sig 2024-02-11 10:46:23 +01:00
splice.h splice: Add support for out-of-bound tx_sig 2024-02-11 10:46:23 +01:00
watchtower.c Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
watchtower.h hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30