Open shaavan opened 1 month ago
Hey @TheBlueMatt @tnull,
A gentle ping! Would love to get your feedback or approach ACK before moving forward with testing and applying a similar approach on the BOLT11 side.
Thanks a lot!
Attention: Patch coverage is 82.14286%
with 10 lines
in your changes missing coverage. Please review.
Project coverage is 89.61%. Comparing base (
ad19d93
) to head (a608b55
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Updated from pr3342.02 to pr3342.03 (diff): Addressed @vincenzopalazzo, @jkczyz, @TheBlueMatt comments
Changes:
ManualRoutingParameters
-> RouteParametersOverride
max_total_routing_fee_msat
in AwaitingInvoice
to support downgrading.PaymentParameters
are created using the Overrides, and then the RouteParameters
are created using it.Looks like most of my previous comments went unaddressed? Just checking cause I interpreted your comment as you addressing them.
Updated from pr3342.03 to pr3342.04 (diff): Addressed @TheBlueMatt’s comments:
Changes:
RouteParamsOverride
to RouteParamsConfig
.{Route, Payment} Params
.with_user_config
, in PaymentParams
, making the function more modular and focused.RouteParamsConfig
is now a required field in AwaitingInvoice
and InvoiceReceived
, initialized with default values if absent. This eliminates redundant optioning and switches to default values where necessary.@TheBlueMatt
Looks like most of my previous comments went unaddressed? Just checking cause I interpreted your comment as you addressing them.
Hey Matt, I’m really sorry for missing your previous comments – not sure how that slipped through! I've gone through everything now and made sure to address them all in the latest update. Thanks so much for your patience! 🌟
Okay, I probably spent a bit too long on it, but #3378 should let us drop the legacy fields in outbound_payment.rs
at de-serialization time.
Updated from pr3342.05 to pr3342.06 (diff): Addressed @jkczyz, @TheBlueMatt comments
Changes:
fn static_invoice_received
to ensure proper compilation and behaviour async_payment
case as well.Lets get a review pass or two on #3378 and see if we want to move forward with it. If we do, we should rebase this on that and do the conversion in outbound_payment.rs
at deserialization time.
Partially addresses #3262