Commit Graph

1123 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
7d9fb8e5d8 update protobuf libraries 2022-04-01 17:56:07 +02:00
Carsten Otto
05b446b200 update spring boot 2022-04-01 17:45:01 +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
889285ce20 update gradle 2022-03-31 17:38:18 +02:00
Carsten Otto
249b833a6d update pmd/cpd to 6.44.0 2022-03-28 19:30:44 +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
37cd0e88e2 include fee rate for routes in output 2022-03-27 19:18:13 +02:00
Carsten Otto
02ab2d8e09 include MPP fee rate in output 2022-03-27 19:14:27 +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
325d24a2fb add caching
fixes #11
2022-03-27 18:34:33 +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
3d630e9073 add fees to route output 2022-03-27 14:23:15 +02:00
Carsten Otto
298e1090e8 include fees in #pickhardtpayments JSON output 2022-03-27 14:12:56 +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
6a20dc453c extract variable 2022-03-27 00:10:55 +01:00
Carsten Otto
73e9ce20f2 add convenience method 2022-03-27 00:10:43 +01:00
Carsten Otto
ed40279805 simplify 2022-03-27 00:03:40 +01:00
Carsten Otto
777a0c0cad rename and restructure "edge with capacity information" -> liquidity 2022-03-27 00:03:19 +01:00
Carsten Otto
592575cc7c fix syntax 2022-03-26 23:44:38 +01:00
Carsten Otto
261f8f5438 add channel policy to edge 2022-03-26 20:54:58 +01:00
Carsten Otto
276c74c15e increase cache duration for channel policies 2022-03-26 20:36:46 +01:00
Carsten Otto
1d89353744 get policy for non-local channel 2022-03-26 20:36:00 +01:00
Carsten Otto
d67a17d707 add auto-refresh for channel policies 2022-03-26 20:35:45 +01:00
Carsten Otto
71cddb9311 update spring boot 2022-03-25 21:56:43 +01:00
Carsten Otto
cc1c57876b update spring boot 2022-03-24 14:55:03 +01:00
Carsten Otto
c1555e5d2d delete crash logs after running pitest 2022-03-22 20:30:24 +01:00
Carsten Otto
aaf4cc9b37 rename "policies" to "policies for local channel" 2022-03-22 20:19:31 +01:00
Carsten Otto
60f09236c5 get other pubkey for channel 2022-03-22 20:19:31 +01:00
Carsten Otto
b6c129d9d4 add getPolicyFrom/To methods 2022-03-22 20:19:31 +01:00
Carsten Otto
a23dd3a8e1 add test 2022-03-22 20:19:31 +01:00
Carsten Otto
daea5a7281 work around pitest issue with or tools 2022-03-22 18:53:16 +01:00
Carsten Otto
f528cd8cc1 update equalsverifier 2022-03-22 18:08:12 +01:00
Carsten Otto
6bf0fdf23c update or tools version 2022-03-21 21:59:58 +01:00
Carsten Otto
1bd89ccac9 fix JAR issue for google or tools 2022-03-21 21:59:42 +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
Carsten Otto
f5f3c34707 add minimum function for Coins 2022-03-20 00:12:05 +01:00
Carsten Otto
d4aa550cfb update equalsverifier 2022-03-19 13:46:18 +01:00