0
Let's say a lightning node A wants to route a payment to a lightning node B, being A and B not directly connected.A looks for routes throughout the network, using the info about the total capacity of available channels and construct n possible routes to reach B.
Will A just try routes until eventually one of the n succeeds?
For what I've got by checking the BOLTS, the actual state of each sides of the channels is not announced (is it?), what means that even though a route could have enough capacity to route a payment, one of the channel could be unbalanced and the whole route may fail. Therefore, the potential failure rate when trying to route payments seems quite high.
Am I missing something?
1the pay-request could be generated in such a way that it contains the routes hints! so i would help yo get the right route! sorry, this is more a comment that an answer, but cant comment because of my lack of reputation :/ – Emi – 2019-02-01T01:37:27.330