Move forwarding_fee_proportional_millionths, forwarding_fee_base_msat to ChannelHandshakeConfig#1247
Move forwarding_fee_proportional_millionths, forwarding_fee_base_msat to ChannelHandshakeConfig#1247matchacactus wants to merge 2 commits intolightningdevkit:mainfrom
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 - |
| } | ||
|
|
||
| impl_writeable_tlv_based!(ChannelConfig, { | ||
| (0, forwarding_fee_proportional_millionths, required), |
There was a problem hiding this comment.
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