-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hsmd: Implement Explicit Node-to-Signer Notification for Channel Data Deletion #6987
Comments
ksedgwic
added a commit
to lightning-signer/c-lightning
that referenced
this issue
Jan 10, 2024
Changelog-Added: hsmd: Added hsmd_forget_channel to enable explicit channel deletion. ([ElementsProject#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 ElementsProject#6987
ksedgwic
added a commit
to lightning-signer/c-lightning
that referenced
this issue
Jan 10, 2024
Changelog-Added: hsmd: Added hsmd_forget_channel to enable explicit channel deletion. ([ElementsProject#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 ElementsProject#6987
ksedgwic
added a commit
to lightning-signer/c-lightning
that referenced
this issue
Jan 10, 2024
Changelog-Added: hsmd: Added hsmd_forget_channel to enable explicit channel deletion. ([ElementsProject#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 ElementsProject#6987
cdecker
pushed a commit
that referenced
this issue
Jan 17, 2024
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
gudnuf
pushed a commit
to gudnuf/lightning
that referenced
this issue
Mar 1, 2024
Changelog-Added: hsmd: Added hsmd_forget_channel to enable explicit channel deletion. ([ElementsProject#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 ElementsProject#6987
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
This change aims to enhance efficiency by minimizing unnecessary data retention in the signer, while maintaining data integrity and preventing errors due to premature data deletion.
The text was updated successfully, but these errors were encountered: