You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request: API call FindRouteToNode will use Eclair's routing algorithm to find a route from your node to any designated node. I request an API call such as FindRouteBetweenNodes that does exactly the same thing, but between any two defined nodes of your choosing. This could be used to find payment loops between 2 nodes that you already have channels with, that you wish to balance. In this instance, FindRouteToNode will simply return your own payment channel since it is meant for finding the best route for a simple payment.
Now that I think about it, my approach will simply return "Node A -> Your Node -> Node B" if you already have channels with A and B. Perhaps return several paths, or return a single path but omit the obvious path that uses your node as the intermediary.
The text was updated successfully, but these errors were encountered:
Added additional method to Eclair like findRoute but allowing for 2 nodeIds. Also added a new endpoint to the http Api "findroutebetweennodes" which takes sourceNode and targetNode as params.
Feature request: API call FindRouteToNode will use Eclair's routing algorithm to find a route from your node to any designated node. I request an API call such as FindRouteBetweenNodes that does exactly the same thing, but between any two defined nodes of your choosing. This could be used to find payment loops between 2 nodes that you already have channels with, that you wish to balance. In this instance, FindRouteToNode will simply return your own payment channel since it is meant for finding the best route for a simple payment.
Now that I think about it, my approach will simply return "Node A -> Your Node -> Node B" if you already have channels with A and B. Perhaps return several paths, or return a single path but omit the obvious path that uses your node as the intermediary.
The text was updated successfully, but these errors were encountered: