Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

lightning: create state machine for reconnection logic during channel init/funding #332

@bmancini55

Description

@bmancini55

This submachine will contain the basic eventing logic that exists inside the four state awaiting_funding_conf.no_channel_ready, awaiting_funding_conf.has_channel_ready, awaiting_funding_depth.no_channel_ready, awaiting_funding_depth.has_channel_ready. That is the handling of disconnect, connect, and validating channel_reestablish messages.

With that basic logic, we can use the StateMachineFactory to construct that state machine, then amend it for each of the unique transitions that exist (some of which will already exist since the prior code only accounts for connected logic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions