Skip to content

Prefer channels with a max_htlc_in_flight < channel capacity #1515

Closed

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.

Activity

  1. tnull commented on Jun 2, 2022

    @tnull
    Contributor

    I'll pick this up and might also have a look at some of the other privacy enhancements discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions