Today I wanted to test a loop I have with 4 other nodes, a so called pentagon. 4 + me.
So, with my LN node, I used getroute to see if I could get a route only using the peers of this pentagon, by sending a payment and providing the starting node as an extra parameter and kinda force the route to use the most possible peers in this pentagon, ideally all of them (I think there are at least 2 peers with other channels to other peers of this pentagon which could possibly shorten the number of hops used).
Let's call nodes A, B, C, D and E, where D is my node. So, my goal would be to get a route from D -> E -> A -> B -> C. This loop was opened with 1million sats.
So, I used the following command to try to get the route:
The result was:
"route": []
}
I tried to lower the amount in 100k sats steps down to 100k sats, and also tried 500 sats, 100 sats, 1 sat, and they all returned empty route arrays.
I also tried to raise the max hops number up to 5000 just for the sake of confirmation (default is 20 hops according to docs) but still no route!
If I don't specify the fromid parameter, I can find routes but none are my loop peers!
I'm not sure I can conclude that node E is a bad routing node because it is quite a big node and with many channels!
You guys have any thoughts on this or want to make a similar experience and share results?
Like, I have a loop and its route is not found/selected to route any payments! This is kinda disappointing!