[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance

Search:


View post   

>> No.6753416 [View]
File: 1.39 MB, 1492x922, Screen Shot 2018-01-19 at 11.44.43 PM.png [View same] [iqdb] [saucenao] [google]
6753416

>>6750905
At intervals, the following process is initiated:

A beacon node B is selected via a pseudo-random process.
Neighbors of B broadcast their shortest route to B to their neighbors.
The neighbors of neighbors of B now become aware of a route to B and in turn broadcast their shortest route to B.
This cascades through the network until every reachable node has broadcasted their shortest route to the beacon node B.
Whenever a node becomes aware of a new shorter route, it broadcasts this updated shortest route as well.
After a short wait, start from top with a new beacon node B1.
Nodes remember their shortest routes to a number of previously selected beacon node.

Now, Alice wants to send 0.3BTC to Bob.
Alice has shortest routes to B, B1, and B2. Bob just came online and only knows B2. They add together their respective paths to B2 and thus find a path:

Alice → N1 → N2 → B2 ← N3 ← Bob
If they have multiple common beacons, they can also compare different paths, and check whether any earlier nodes in their routes match. If they instead had found:

Alice → N1 → N2 → B2 ← N2 ← Bob
They could shorten the route to:

Alice → N1 → N2 ← Bob
Altogether, "shortest" would be some combination of reachable, sufficient liquidity, lowest fee, fewest hops, and most reliable. As Hash Time Lock Contracts are nearly trustless (only potentially locking your money for some time), and operating a routing wallet should have low resource requirements, it seems likely that the payment routing market should achieve a healthy competition, therefore discouraging nodes to lock money by establishing channels just to earn fees from routing. Payment channels between nodes that have some form of regular business relationship seem more likely as there is an immediate benefit.

Navigation
View posts[+24][+48][+96]