Skip to content

Don't FC during startup chain relay if we might be able to salvage the channel by connecting to a peer #4048

Description

@TheBlueMatt

If we've been offline for a while and had a pending outbound HTLC, on startup we may replay blocks, notice its gonna expire and FC the channel, but if we had just waited long enough to connect to our peer they may have resolved the HTLC immediately on connection (with a failure, if they haven't FCd yet either). This is a much more important issue for LSP clients doing async sending on a mobile.

Activity

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