How does lnd make sure it does not reuse the same route twice for a retry after the first payment failed?

by wtho   Last Updated October 18, 2019 16:27 PM

Suppose LND node A wants to send a payment to another node D. The pathfind algorithm based on Dijkstra found a route through B and C and initiates the payment. It fails, as B -> C does not have sufficient balance/bandwidth.

Will LND just fail the payment or try another time with a different route? How does it remember the failed route?

Follow-up question: Can node A figure out, which edge failed?



Related Questions


Updated February 07, 2019 14:27 PM

Updated February 11, 2019 11:27 AM

Updated May 02, 2019 23:27 PM

Updated November 05, 2018 18:27 PM

Updated July 18, 2019 08:27 AM