Skip to content

config: mark channels as disabled for routing when rejecthtlc=1 #4959

@alexbosworth

Description

@alexbosworth

Background

When setting the configuration option to disallow all routing on all channels with rejecthtlc=1, it would be friendly to the network and to peers to pre-indicate to them that their attempts to route through the channel will be rejected.

This could help prevent slow pathfinding scenarios and help with future graph sync optimizations where disabled edges are de-prioritized for on-boarding or catchup graph sync.

The disabled flag should not preclude:

  • Receiving over channels (disabled is marked only on the outgoing edge)
  • Direct sending over channels (the internal pathfinding should ignore the public graph marker)

Your environment

  • LND v0.11.1-beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3might get fixed, nice to haveenhancementImprovements to existing features / behaviourhtlcswitchrouting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions