diff options
| author | Yuval Adam <_@yuv.al> | 2021-08-07 10:50:12 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2021-08-07 10:50:12 +0300 |
| commit | 3f2259a368d2d18fb99540e78fb83905d65edd75 (patch) | |
| tree | d8bf48e57a4600b85b41c6ae03beef528edd34f6 | |
| parent | d3c76f8429b6b2c31dc66e771fbb6140e8bb187f (diff) | |
Add path finding / routing distinction
| -rw-r--r-- | README.md | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -4,8 +4,17 @@ Everything you need to work with the Lightning Network in a dense and concise fo ## Channels -- **Local balance** - outgoing liquidity -- **Remote balance** - incoming liquidity +- **Local balance**: outgoing liquidity +- **Remote balance**: incoming liquidity + +Payments are attempted in two phases: + +- Pathfinding: traversing the channel graph and finding a path to the destination node +- Routing: attempting to actually send funds on a given path. + +Public graph information includes channel capacity and fees, and is known in **path finding** phase. + +Private graph information includes the current liquidity balance, and can only be discovered if a payment succeeds or fails on a **routing** attempt. ### Fees |
