Skip to content

Allow non-strict forwarding for spliced/closed channels #3821

Open
@tnull

Description

@tnull

In #3127 we implemented non-strict forwarding which allows us to forward over substitute channels with preferable liquidity state.

However, if we have an HTLC incoming for a channel with short_channel_id we don't know (e.g., spliced, recently-closed), we simply give up (

forwarding_channel_not_found!(pending_forwards.drain(..));
) as we don't have data on the counterparty.

It would be nice if we could have some datapoints stick around after channels have been closed/spliced so that we can expand non-strict forwarding for these cases: simply forward over a substitute channel with the same peer, even if the original channel is gone by now.

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