From 3f2259a368d2d18fb99540e78fb83905d65edd75 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sat, 7 Aug 2021 10:50:12 +0300 Subject: Add path finding / routing distinction --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7239b64..bca18ec 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.3.1