Commit Graph

183 Commits

Author SHA1 Message Date
Carsten Otto
0ee8f795f7 log and fail if route exceeds max-cltv-expiry
fixes #76
2022-11-16 18:13:12 +01:00
Carsten Otto
cc8a143992 tweak rating computation 2022-11-10 20:36:59 +01:00
Carsten Otto
217af122e2 split rating into channel/peer specific instances 2022-11-09 15:20:19 +01:00
Carsten Otto
5faf68d467 refactor record to class 2022-11-09 14:04:21 +01:00
Carsten Otto
2062a3b9dd tweak Rating model and service
* extract logic into RatingForChannelService
* add information about days and average liquidity
2022-11-09 09:46:42 +01:00
Carsten Otto
e939df93d6 migrate from groovy to kotlin 2022-11-08 11:20:53 +01:00
Carsten Otto
c8d624fc68 move version definitions to external platform 2022-11-01 10:13:04 +01:00
Carsten Otto
185718d564 update pmd/cpd 2022-10-29 12:52:33 +02:00
Carsten Otto
b39a7b2d92 use ChannelIdParser, deduplicate logic 2022-09-27 22:28:45 +02:00
Carsten Otto
65e2c2c7b9 add missing annotation 2022-09-16 16:28:59 +02:00
Carsten Otto
adc750dcf1 include some details of rating computation 2022-09-16 16:06:22 +02:00
Carsten Otto
42205e18c3 include amount of received payments in FlowReport
self-payments are not included
2022-08-27 18:40:59 +02:00
Carsten Otto
3bf0c763ed fix path for peer/node rating 2022-07-27 23:15:42 +02:00
Carsten Otto
91fd885416 get nodes with high incoming fee rate 2022-06-18 19:10:52 +02:00
Carsten Otto
a657743171 add rating to channel details 2022-06-13 13:34:00 +02:00
Carsten Otto
b05ab08f4c return empty rating as -1, include message in output for node details 2022-06-13 12:59:21 +02:00
Carsten Otto
d977d7c9d1 include rating in node details 2022-06-13 10:01:48 +02:00
Carsten Otto
973a3ef2be rename controller 2022-06-06 16:10:26 +02:00
Carsten Otto
fd3ec7353f add basic support for ratings 2022-06-03 10:58:52 +02:00
Carsten Otto
5e08e230ed legacy: fix styling, pad values 2022-06-02 17:46:05 +02:00
Carsten Otto
fac4ddcb60 legacy: include fee rate in output 2022-06-02 13:22:27 +02:00
Carsten Otto
74dc369381 legacy: include balance in output 2022-06-02 13:22:27 +02:00
Carsten Otto
c6a646bafc legacy: show capacity without millisat .000 2022-06-02 13:22:27 +02:00
Carsten Otto
4796c6f592 fix: MPP self-payments
fixes #47
2022-05-30 22:23:33 +02:00
Carsten Otto
f28f01ed57 move /beta/pickhardt-payments/ to /api/payments/ 2022-05-28 12:59:40 +02:00
Carsten Otto
c06487faeb fix: do not override payment options for top-up 2022-05-27 23:33:32 +02:00
Carsten Otto
0356503d5a remove some properties from exposed payment options 2022-05-27 23:22:41 +02:00
Carsten Otto
51d0338e5e use payment options for top-up 2022-05-27 23:09:36 +02:00
Carsten Otto
36133159ef pass payment options via POST 2022-05-27 22:41:31 +02:00
Carsten Otto
3c50596437 add top-up functionality 2022-05-22 16:00:50 +02:00
Carsten Otto
d17d61756c add basic top up service 2022-05-22 14:43:50 +02:00
Carsten Otto
911e217aef add graph service and "number of known channels" endpoint 2022-05-17 16:56:51 +02:00
Carsten Otto
1ce2c58081 add "reset graph cache" endpoint 2022-05-17 16:16:30 +02:00
Carsten Otto
da809d5dec do not fail on "old" channel ID 2022-05-17 08:46:50 +02:00
Carsten Otto
9a2f0d9af3 get copy of messages to avoid duplicates 2022-05-15 18:04:52 +02:00
Carsten Otto
215e0bc23b add MPP sender with payment loop 2022-05-15 17:58:03 +02:00
Carsten Otto
1442a1d0f8 return long value as string to avoid JSON issues 2022-05-13 18:33:03 +02:00
Carsten Otto
96d60d6bda read max htlc from policy 2022-05-13 18:31:05 +02:00
Carsten Otto
daad59ef1d move unused constant 2022-05-13 18:16:22 +02:00
Carsten Otto
06b9061433 use text block in test 2022-05-12 22:46:20 +02:00
Carsten Otto
5959ee5b38 extract ui into dedicated module 2022-05-11 08:17:54 +02:00
Carsten Otto
14f70219b4 test model data 2022-05-11 07:12:35 +02:00
Carsten Otto
d3818877a6 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
b64d0f87b3 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
f09c3f3326 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
610860566f add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
097afbdda9 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
fe341b0249 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
63b3ef0e4d add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
da0a30af8d cleanup 2022-05-11 07:12:35 +02:00