-
Notifications
You must be signed in to change notification settings - Fork 377
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
Move forwarding_fee_proportional_millionths, forwarding_fee_base_msat to ChannelHandshakeConfig #1247
Conversation
The second commit broke |
Codecov Report
@@ Coverage Diff @@
## main #1247 +/- ##
==========================================
+ Coverage 90.40% 90.42% +0.01%
==========================================
Files 70 70
Lines 38087 38098 +11
==========================================
+ Hits 34434 34449 +15
+ Misses 3653 3649 -4
Continue to review full report at Codecov.
|
e0ef482
to
c49c086
Compare
I'm somewhat confused as to the motivation for this PR - |
@@ -264,13 +264,10 @@ impl Default for ChannelConfig { | |||
} | |||
|
|||
impl_writeable_tlv_based!(ChannelConfig, { | |||
(0, forwarding_fee_proportional_millionths, required), |
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.
Note that we cannot remove required
elements, as old clients will refuse to load data serialized by new clients (which we guarantee won't happen at least across a few releases). We instead need to write the default value with something like (0, Some(DEFAULT_VALUE as u64), option)
I misunderstood the issue - am I on the right track with #1270? Closing this PR in favor of #1270 |
Eventually landed rebased as #1529. |
First step for #216