-
Notifications
You must be signed in to change notification settings - Fork 412
Set default ChannelHandshakeLimits::min_funding_satoshis to 1000 #3220
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
Set default ChannelHandshakeLimits::min_funding_satoshis to 1000 #3220
Conversation
Looking for some other inconsistencies at the moment. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3220 +/- ##
==========================================
- Coverage 89.74% 89.73% -0.01%
==========================================
Files 122 122
Lines 101912 101903 -9
Branches 101912 101903 -9
==========================================
- Hits 91457 91439 -18
- Misses 7765 7773 +8
- Partials 2690 2691 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good, but I wonder if we should set the lower bound dynamically rather than just aligning the default values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good, but I wonder if we should set the lower bound dynamically rather than just aligning the default values?
Sadly "minimum channel value" is a really common thing to configure, so removing the option would probably leave the API lacking for our users :(
b6340e9
to
94943e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Oops, broken link:
|
The original default value of 0 was inconsistent with the minimum requirement of 1000 satoshis in ChannelHandshakeConfig::their_channel_reserve_proportional_millionths.
94943e5
to
779b194
Compare
Sorry! Fixed and checked locally (this time) |
The original default value of 0 was inconsistent with the minimum requirement of 1000 satoshis in ChannelHandshakeConfig::their_channel_reserve_proportional_millionths.
Fixes #2058.