Skip to content

Improve documentation around resolving "stuck" co-op channel closes #2086

Open
@wpaulino

Description

@wpaulino

The spec outlines a few scenarios where channels should be force closed after a co-op close attempt stops making progress after some time. LDK will currently only adhere to this after two ChannelManager::timer_tick_occurred if the peer is still connected. If the peer is disconnected, and has been for a while, implementations will need to decide by themselves when it's appropriate to force close channels in this state. To help them do so, we should expose some notion of when the peer was last offline (ideally as a block height).

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