You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Increase/document guarantees around DiscardFunding event #2508
Currently, channels with unbroadcasted funding transactions that are closed/lost on restart do not generate DiscardFunding events. One case where we are able to detect this is here.
However, persistence would also need to change to provide increased guarantees, as Channels and ChannelMonitors are only persisted at funding_signed instead of funding_created and the asynchronous persistence of Channels is not guaranteed at any point. For the latter, see also #2505.
The documentation for the event does already say "This event is not guaranteed to be generated for channels that are closed due to a restart.", so we need to increase guarantees, but I think the actual guarantees are documented.
Activity
TheBlueMatt commentedon Aug 20, 2023
Tagging 0.1 at least until we document this, then we should fix it later.
TheBlueMatt commentedon Dec 5, 2024
The documentation for the event does already say "This event is not guaranteed to be generated for channels that are closed due to a restart.", so we need to increase guarantees, but I think the actual guarantees are documented.