[feature]: Allow for cancellation of EstimateRouteFee
#8534
Labels
enhancement
Improvements to existing features / behaviour
EstimateRouteFee
#8534
This issue tracks a follow-up of the routing fee estimation overhaul in PR #8136.
The fee estimation api lacks the ability for users to aboard payment probes. Currently the payment probing only interrupts if the duration of a timeout parameter passed. But if the user interrupts the probing, the rpc call returns but the payment probing loop is left behind.
To achieve this the rpc context could be first passed in to
SendPaymentV2
->SendPaymentAsync
->sendPayment
->resumePayment
, and then return here if the context was cancelled and after the last HTLC was resolved.The text was updated successfully, but these errors were encountered: