[Lightning-dev] network topology and routing
pm+lists at acinq.fr
Tue Sep 15 12:10:18 UTC 2015
I know there hasn't been much work on routing yet (not that I am aware of
at least), but it seems there is a consensus around the fact that the
target network topology would look like this :
implying that :
- there would exist multiple paths to a target user
- reaching a target user would require several hops
- some nodes might even be connected only to nodes
This puzzles me because the network topology I expected would look more
like this :
I am not saying each node should be aware of every other node, but that :
- nodes connected only to nodes shouldn't exist
- when user A sends a payment to user B, it goes through at most 2 nodes,
or just 1 if A and B are connected to the same node
The reason for that is there is an incentive for reducing the number of
hops right ? Because it is faster (each hop adds latency) and cheaper (each
hop adds a fee).
With that in mind, why would routing be more complicated than just
<user-id>@<node> ? Then we just agree on a standard port and that's it !
Isn't it how the internet works already ? Why do we need an
application-level routing on top of the IP routing ?
Now that I made a fool of myself, please correct me :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lightning-dev