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

@TheBlueMatt

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.

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