Skip to content

Prefer channels with a max_htlc_in_flight < channel capacity #1515

Closed
@TheBlueMatt

Description

@TheBlueMatt

In discussions this week, it was noted that channels with an HTLC in-flight-max smaller than the channel capacity (specifically, both directions having an htlc_in_flight_max < 50% of the channel capacity, with lower better) makes a channel somewhat harder to probe for live balances, thereby improving privacy for payments routed through that node.

While more privacy protections should be added, this is a super trivial heuristic that we can use to encourage network-wide "good behavior" today - simply detect this and prefer channels which have this privacy improvement in our scorer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions