core-lightning/channeld
Matt Whitlock acfb63e4bf channeld: remove dead HTLCs from htable and free them (eventually)
The channel->htlcs map was exhibiting unbounded growth, as elements were
never removed from it. This was causing lightning_channeld processes to
consume ever-increasing amounts of memory, and iterating over the map
was causing ever-increasing CPU utilization. There were FIXME comments
suggesting that the intention was to remove HTLCs from the map upon
their deaths. This commit implements that intention.

Changelog-Fixed: channeld no longer retains dead HTLCs in memory.
2023-01-20 14:04:08 -06:00
..
test channeld: remove dead HTLCs from htable and free them (eventually) 2023-01-20 14:04:08 -06:00
channeld_htlc.h channeld: remove dead HTLCs from htable and free them (eventually) 2023-01-20 14:04:08 -06:00
channeld_wire.csv channeld: remove onion objects. 2022-09-29 16:10:57 +09:30
channeld.c channeld, lightningd: allow blinded payments with !EXPERIMENTAL_FEATURES. 2022-10-26 11:29:06 +10:30
channeld.h
commit_tx.c Remove general shadowed variables. 2022-08-31 12:18:28 +03:00
commit_tx.h
full_channel_error.h
full_channel.c channeld: remove dead HTLCs from htable and free them (eventually) 2023-01-20 14:04:08 -06:00
full_channel.h
Makefile channeld: remove onion objects. 2022-09-29 16:10:57 +09:30
watchtower.c hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30
watchtower.h hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30