core-lightning/hsmd
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
..
hsmd_wire.csv hsmd: Implement hsmd_forget_channel for Channel Deletion in HSMD 2024-01-17 13:34:20 +01:00
hsmd.c hsmd: Implement hsmd_forget_channel for Channel Deletion in HSMD 2024-01-17 13:34:20 +01:00
libhsmd_status.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
libhsmd.c hsmd: Implement hsmd_forget_channel for Channel Deletion in HSMD 2024-01-17 13:34:20 +01:00
libhsmd.h hsmd: remove #if DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
Makefile hsmd: rename "capabilities" flags for hsm fds to "permissions" 2023-08-08 14:31:47 +09:30
permissions.h splice: Add hsmd_check_outpoint and hsmd_lock_outpoint 2023-10-26 16:42:47 +10:30