Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer channels with a max_htlc_in_flight < channel capacity #1515

Closed
TheBlueMatt opened this issue Jun 2, 2022 · 1 comment · Fixed by #1555
Closed

Prefer channels with a max_htlc_in_flight < channel capacity #1515

TheBlueMatt opened this issue Jun 2, 2022 · 1 comment · Fixed by #1555
Labels
good first issue Good for newcomers

Comments

@TheBlueMatt
Copy link
Collaborator

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.

@TheBlueMatt TheBlueMatt added the good first issue Good for newcomers label Jun 2, 2022
@tnull
Copy link
Contributor

tnull commented Jun 2, 2022

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
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants