core-lightning/wallet
Ken Sedgwick e9ff50df96 hsmd: Implement hsmd_forget_channel for Channel Deletion in HSMD
Changelog-Added: hsmd: Added hsmd_forget_channel to enable explicit channel deletion. ([#6987])

Motivation: Previously, a signer prematurely forgetting a channel led
to failures in unresolved channel requests. This update introduces
hsmd_forget_channel, allowing nodes to explicitly notify signers when
a channel is irrevocably resolved and can be safely forgotten. This
ensures synchronized channel cleanup between nodes and signers.

This change maintains backward and forward compatibility. Nodes
explicitly check whether a signer has `WIRE_HSMD_FORGET_CHANNEL`
capability before sending the message.  Nodes without
`WIRE_HSMD_FORGET_CHANNEL` capability won't send this message. Signers
capable of handling this message but not receiving it will continue to
use conservative pruning methods.

Fixes #6987
2024-01-17 13:34:20 +01:00
..
test hsmd: Implement hsmd_forget_channel for Channel Deletion in HSMD 2024-01-17 13:34:20 +01:00
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db.c db: add private channel inbound fields 2023-12-14 09:16:56 +10:30
db.h db: migrate old runes table to fix up id fields. 2023-08-31 05:33:15 +09:30
invoices.c display paid_outpoint on invoices when present 2023-10-26 19:11:17 +10:30
invoices.h display paid_outpoint on invoices when present 2023-10-26 19:11:17 +10:30
Makefile wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
psbt_fixup.c wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
psbt_fixup.h wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
reservation.c addpsbtoutput: allow command to specify output address. 2023-11-01 14:11:28 +10:30
txfilter.c track fallbacks for invoices, pt 1 2023-10-26 19:11:17 +10:30
txfilter.h track fallbacks for invoices, pt 1 2023-10-26 19:11:17 +10:30
wallet.c wally: rename functions that clash with wally v1.0.0 2024-01-16 15:47:03 +01:00
wallet.h db, inflights: add method to remove any 'dangling' inflights 2023-11-02 19:32:05 +10:30
walletrpc.c wallet: specialize get_utxos interfaces. 2023-11-01 14:11:28 +10:30
walletrpc.h wallet: add newaddr_inner() helper 2023-10-26 19:11:17 +10:30