-
Notifications
You must be signed in to change notification settings - Fork 405
Various Followups to 2039 and 2674 #2676
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
Various Followups to 2039 and 2674 #2676
Conversation
If the user declines to specify a `max_total_routing_fee_msat` in the new BOLT12 payment methods, rather than defaulting to no limit on the fee we pay at all, we should default to our "usual default", ie the one calculated in `RouteParameters::from_payment_params_and_value`. We do this here, as well as documenting the behavior on the payment methods.
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2676 +/- ##
==========================================
+ Coverage 88.80% 89.33% +0.52%
==========================================
Files 112 112
Lines 88282 90866 +2584
Branches 88282 90866 +2584
==========================================
+ Hits 78397 81171 +2774
+ Misses 7636 7455 -181
+ Partials 2249 2240 -9
☔ View full report in Codecov by Sentry. |
In 26c1639 we switched to using `Default::default()` to initialize `()` for scoring parameters in tests. A number of `()`s slipped back in recently, which we replace here.
... by passing an owned `String`, rather than taking an `&str` and `to_owned()`ing it.
... and correct direction which causes force-closure in another sentence.
Rather than only building with the `c_bindings` flag in certain crates, we go ahead and test all crates with the flag in CI here.
0144138
to
88af8a2
Compare
Ended up with a few more changes for bindings, so went ahead and addressed @jkczyz's feedback (and squashed those changes down). |
Because the bindings changes now require further changes to our type definitions, avoiding building the `Simple*` type aliases entirely makes the patchset there simpler.
88af8a2
to
4443db6
Compare
Because we can't map move semantics in most languages, we also can't map our current builders. Thus, we have to mark them no-export.
No description provided.