Skip to content

LDK Refuses to forward when other nodes have aggressive final CLTV Deltas #1114

@TheBlueMatt

Description

@TheBlueMatt

My public node regularly fails to forward for "CLTV too soon" errors like:

INFO  [lightning::ln::channelmanager:1822] Failed to accept/forward incoming HTLC: Outgoing CLTV value is too soon

with some additional logging, it looks like the difference from current height to outgoing CLTV height is usually 14 when this happens, implying, I'd guess, that someone is trying to pay an immediate neighbor of mine, with a final CLTV delta of 14 blocks. I'm really not a fan of reducing our "min difference from now" constant down from 21 blocks but there's no way in the current spec to communicate this - we only have the CLTV delta which gates the inbound HTLC height, the outbound is entirely based on what the receiving node wants.

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