Skip to content

Bump max inflight HTLC value for outbound private channels #303

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

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented May 30, 2024

Based on #141.

  • Firstly, we consolidate setting the default values of UserConfig.

  • Secondly, we override max_inbound_htlc_value_in_flight_percent_of_channel for private outbound channels to be 100% as users keep beeing confused why they aren't able to send the full channel value. LDK will likely default to this behavior soon anyways, at which point we'll be able to drop this manual override again.

@tnull tnull force-pushed the 2024-05-bump-max-inflight-for-outbound-private-channels branch 2 times, most recently from 17a41e8 to bbeead2 Compare June 11, 2024 19:03
@tnull
Copy link
Collaborator Author

tnull commented Jun 11, 2024

Rebased on main after #141 landed.

@tnull tnull added this to the 0.3 milestone Jun 11, 2024
@tnull tnull mentioned this pull request Jun 11, 2024
19 tasks
tnull added 2 commits June 14, 2024 10:10
.. now only via `Config::default_user_config`
.. as users are confused why they can't send the full channel amount.

LDK will default to this behavior soon, anyways, at which point we'll be
able to drop this manual override again.
@tnull tnull force-pushed the 2024-05-bump-max-inflight-for-outbound-private-channels branch from bbeead2 to dc5d00e Compare June 14, 2024 08:12
@tnull
Copy link
Collaborator Author

tnull commented Jun 14, 2024

Rebased to resolve minor conflicts after #307 landed.

@tnull tnull requested a review from valentinewallace June 14, 2024 08:16
Copy link

@valentinewallace valentinewallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌

@tnull tnull merged commit 0e02969 into lightningdevkit:main Jun 14, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants