Commit Graph

194 Commits

Author SHA1 Message Date
Carsten Otto
d305a57ecc work around linebreak issue found by spotbugs 2024-06-07 11:55:56 +02:00
Carsten Otto
04aeaac651 show inbound fees in channel policy 2024-05-03 10:28:42 +02:00
Carsten Otto
3cece1612f minor fixes, preparation for PMD 7 2024-04-11 12:46:40 +02:00
Carsten Otto
1049eed1d2 remove "num_updates" channel warning
this should not be an issue anymore starting with lnd 0.15.1 (released in August 2022)

fixes #92
2024-02-14 18:07:06 +01:00
Carsten Otto
b244a9b288 return minimum value for "min_htlc_msat" for channel
this is negotiated with the peer and defines the lower bound
for the values one may set for the local channel policy
2024-01-13 17:59:27 +01:00
Carsten Otto
5e61301e15 export "min_htlc" as part of channel details 2023-09-10 14:47:50 +02:00
Carsten Otto
e09fe3f1db add first hop filter to top-up
fixes #86
2023-08-14 22:45:06 +02:00
Carsten Otto
ed2b40a657 migrate PaymentStatus to Flux 2023-08-03 16:21:28 +02:00
Carsten Otto
92b912f324 migrate payments controller to WebFlux
fixes #38
2023-08-03 12:17:17 +02:00
Carsten Otto
1f2f3cfd1d always use \n for pretty printed JSON
see #80
2023-01-01 13:03:05 +01:00
Carsten Otto
e2fb70857a update to spring boot 3 2022-12-14 21:53:47 +01:00
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