blink icon indicating copy to clipboard operation
blink copied to clipboard

Optimize fee probe re-runs

Open vindard opened this issue 2 years ago • 0 comments

Idea

(see: https://github.com/GaloyMoney/galoy/issues/1306#issuecomment-1134769222)

If a payment flow for a higher amount already exists for the same invoice, explore how we can skip re-running the probe from lnd. Either:

  • can we re-use the cachedRoute as is for a lower amount?
  • can we reliably edit the cachedRoute in-place for the lower amount and update the payment flow object

vindard avatar May 27 '22 15:05 vindard