Skip to content

Increase/document guarantees around DiscardFunding event #2508

Open
@wvanlint

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.

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