mirror of
https://github.com/ACINQ/eclair.git
synced 2025-01-19 05:33:59 +01:00
c4d0604b72
* Extract faulty channels selection from PaymentLifecycle Move the logic of figuring out which channels/nodes should be ignored when retrying after a payment failure out of the PaymentLifecycle. We can figure this out looking only at the `PaymentFailure` generated, and the multi-part logic could leverage these helpers. * Refactor RouteResponse It was useless to return `ignoreNodes` and `ignoreChannels`, it's rather the responsibility of the caller (PaymentLifecycle) to store and update these sets. Preparing for the MPP move inside the router, we introduce a Route class and let RouteResponse return a collection of Routes. This creates some ugliness in PaymentLifecycle because of the `routePrefix`, but this is just temporary: the `routePrefix` "hack" will be removed soon. |
||
---|---|---|
.. | ||
modules | ||
src | ||
pom.xml |