Commit Graph

21 Commits

Author SHA1 Message Date
Carsten Otto
ae503aff97 move computation of largest channel into cached object 2022-04-02 15:55:28 +02:00
Carsten Otto
267dd3cb1d refactor 2022-04-02 15:50:31 +02:00
Carsten Otto
4ac6c796b0 normalize unit cost for large channel
with this the effect of the fee rate weight does
not depend on the size of the largest channel
2022-04-02 02:01:26 +02:00
Carsten Otto
08c561ddc2 use fee rate weight instead of factor 2022-04-02 01:27:41 +02:00
Carsten Otto
6d07119940 fix division by zero 2022-04-01 00:31:39 +02:00
Carsten Otto
399e78a899 introduce fee rate factor 2022-04-01 00:21:49 +02:00
Carsten Otto
fdd727cce6 ignore channels with non-zero base fee 2022-03-27 19:50:02 +02:00
Carsten Otto
5c8f0a0dea keep number of pieces for linearization constant
see #10
2022-03-27 19:41:25 +02:00
Carsten Otto
73a84f44c7 compute fee rate for MPP 2022-03-27 19:12:57 +02:00
Carsten Otto
f6c430769f compute fee rate for route 2022-03-27 19:10:40 +02:00
Carsten Otto
7cd17c11d4 consider liquidity information in route probability 2022-03-27 19:00:36 +02:00
Carsten Otto
afd7eef608 extract edge computation 2022-03-27 18:32:02 +02:00
Carsten Otto
25a057a906 remove dead code 2022-03-27 15:53:46 +02:00
Carsten Otto
abd5c1bc4e take known liquidity into account, add as 0-cost arc
fixes #10
2022-03-27 15:44:28 +02:00
Carsten Otto
a242977b47 compute fes for MPP/routes 2022-03-27 14:06:10 +02:00
Carsten Otto
785eeffa21 rename class 2022-03-27 00:34:23 +01:00
Carsten Otto
3145aa0b33 rename variables 2022-03-27 00:30:30 +01:00
Carsten Otto
3b3d5e8d95 use channel capacity instead of upper bound 2022-03-27 00:29:15 +01:00
Carsten Otto
777a0c0cad rename and restructure "edge with capacity information" -> liquidity 2022-03-27 00:03:19 +01:00
Carsten Otto
261f8f5438 add channel policy to edge 2022-03-26 20:54:58 +01:00
Carsten Otto
8804a28538 add basic support for #PickhardtPayments
work in progress, see https://github.com/C-Otto/lnd-manageJ/issues/6
2022-03-20 19:12:58 +01:00