[Lightning-dev] Fwd: Re: Routing & Beacons
laurentmt145 at gmail.com
Fri Apr 15 12:20:31 UTC 2016
If I'm correct, it means that on a given period all payments go through
the selected beacons nodes ?
I ask this because some protocols like the pulse protocol are also based
on beacons to update the routing tables but they don't require that all
"messages" go through the beacons. "Messages" go through the first
common ancestor of source and target in the spanning tree associated to
the selected beacon.
The main drawback with this approach is that the source doesn't know the
route beforehand... The main advantage is that it puts less "pressure"
on the beacons.
Another question: have you already decided on an update strategy for the
As I understand the problem, there's 2 variables which determine the
- capacity of channels at time t (max number of bitcoins I can transfer
through a given channel). It determines if a route can be used to
transfer the amount.
- fees charged by nodes. It determines the best route.
Capacity is likely the most dynamic of the two variables. Do you
consider capacity as an information stored in the routing tables (but it
may be very challenging to keep tables up to date) or is it checked "in
live" when the payment is propagated ?
Le 13/04/2016 02:40, Rusty Russell a écrit :
> laurentmt <laurentmt145 at gmail.com> writes:
>> Hi there,
>> Just a LN noob here. I'm intrigued by the idea of routing based on
>> beacons. Is it somewhat similar to the Pulse Protocol
>> with a periodic computation of spanning trees rooted at beacons nodes ?
> Hi Laurent!
> There are several ways to do routing via a known set of
> landmarks. Since each node is interested in the cheapest route to and
> from each beacon, that's pretty easy to propagate (simply always
> broadcast the best route you know about).
> Of course, if rates are expressed as "base + per-satoshi-amount"
> then "cheapest" depends on the amount, so some heuristics will be
More information about the Lightning-dev