镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Recover from out-of-sync channelmonitors #29

Closed

Description

@tnull

Matt commented in #11:

What happens if we start and there's channelmonitors that are on different sides of a fork? We need to detect that somehow and get them back to a common ancestor before moving forward with normal block sync.

Activity

  1. added this to the 0.5 milestone on Oct 9, 2024
  2. tnull commented on Oct 9, 2024

    @tnull
    CollaboratorAuthor

    Tagging this 0.5 as it might finally become relevant after adding bitcoind RPC support. Though, addressing this properly will be a headscratcher as we (do and need to) load ChannelMonitors and give them to ChainMonitor in the Builder, but while only being able to actually connect and poll the RPC ChainSource after/upon start.

  3. modified the milestones: 0.5, 0.6 on Jan 24, 2025
  4. modified the milestones: 0.6, 0.7 on Jun 9, 2025
  5. modified the milestones: 0.7, 0.8 on Nov 10, 2025
  6. tnull commented on Nov 10, 2025

    @tnull
    CollaboratorAuthor

    Actually, we can close this as we will synchronize listeners via lightning-block-sync::init::synchronize_listeners upon restart. However, the current issue is still that we sync from chain origin on start, but that's orthogonal to the described issue, AFAIU.

  7. reopened this on Oct 13, 2026
  8. tnull commented on Oct 13, 2026

    @tnull
    CollaboratorAuthor

    Turns out this wasn't fully resolved, see #1076.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions