Skip to content

Increase/document guarantees around DiscardFunding event #2508

Open

Description

@wvanlint

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.

Activity

  1. modified the milestones: 0.1.1, 0.1 on Aug 20, 2023
  2. TheBlueMatt commented on Aug 20, 2023

    @TheBlueMatt
    Collaborator

    Tagging 0.1 at least until we document this, then we should fix it later.

  3. TheBlueMatt commented on Dec 5, 2024

    @TheBlueMatt
    Collaborator

    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.

  4. removed this from the 0.1 milestone on Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions