Commit Graph

107 Commits

Author SHA1 Message Date
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
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
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
ddf3d75696 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
612d266af1 move ui demo to separate model 2022-05-11 07:12:35 +02:00
Carsten Otto
0c69d9f9b2 allow queries for channel ID in all supported formats 2022-05-11 07:12:35 +02:00
Carsten Otto
857bfeb5ae cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
7242bd3d96 cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
925f28e08c rename integration tests 2022-05-11 07:12:35 +02:00
Carsten Otto
a997110deb cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
51ff2f70ae cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
1c9595483b rename "chan" to "channel" 2022-05-11 07:12:35 +02:00
Carsten Otto
cf03cf259e accept channel ID in all supported formats 2022-05-11 07:12:35 +02:00
danielbroll
f851f589dc fixed checkstyle & pmd 2022-05-11 07:12:35 +02:00
danielbroll
9ae865b4d7 checkstyle 2022-05-11 07:12:35 +02:00
danielbroll
6541032662 remove duplicated code 2022-05-11 07:12:35 +02:00
danielbroll
e7e7bcf374 fix checkstyle 2022-05-11 07:12:35 +02:00
danielbroll
647de17c17 thymeleaf dashboard 2022-05-11 07:12:35 +02:00
Carsten Otto
d1567f45d8 pay payment requests via pickhardt payments 2022-05-04 20:59:34 +02:00
Carsten Otto
0a84e83158 move models 2022-04-30 15:38:32 +02:00
Carsten Otto
9f965902a5 refactor Route 2022-04-30 15:23:24 +02:00
Carsten Otto
e5949c9d5f fix fee computation
- compute fees per hop
- fees for first hop are not paid
- show fees for first hop
2022-04-23 11:03:28 +02:00
Carsten Otto
08c561ddc2 use fee rate weight instead of factor 2022-04-02 01:27:41 +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
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
298e1090e8 include fees in #pickhardtpayments JSON output 2022-03-27 14:12:56 +02:00
Carsten Otto
785eeffa21 rename class 2022-03-27 00:34:23 +01:00
Carsten Otto
aaf4cc9b37 rename "policies" to "policies for local channel" 2022-03-22 20:19:31 +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
fb536d220f add missing unit suffixes 2022-03-10 17:24:40 +01:00
Carsten Otto
ccd88059f1 add unit suffix ("...Sat" or "...MilliSat") to JSON fields
fixes #1
2022-03-10 17:02:19 +01:00
Carsten Otto
0b87aa1534 add channel warnings (num updates > 100k) 2022-02-26 19:47:12 +01:00
Carsten Otto
8a55785cea return num updates as part of channel information 2022-02-26 17:59:20 +01:00
Carsten Otto
924f94f93c configure jackson in ObjectMapperConfiguration 2022-01-31 10:38:51 +01:00
Carsten Otto
a559d14280 add /api/warnings providing all known (node) warnings 2022-01-16 16:46:43 +01:00
Carsten Otto
4ce8f7d379 compute online percentage over 14 days 2022-01-16 13:24:31 +01:00
Carsten Otto
6e610c7d89 make days for online percentage/changes configurable 2022-01-16 11:45:47 +01:00
Carsten Otto
4e865d5c6f warn if peer has no flow for >= 14 days 2022-01-14 13:20:22 +01:00
Carsten Otto
053bda5cba add flow controller 2022-01-13 19:15:35 +01:00
Carsten Otto
9eb8f86160 add flow reports 2022-01-10 20:51:49 +01:00
Carsten Otto
2d49014f4d do not query dao for channels closed a long time ago 2021-12-30 15:38:47 +01:00
Carsten Otto
2c648c12ce add endpoint for recent fee report 2021-12-30 14:22:17 +01:00
Carsten Otto
e141e167e0 add warning/info: number of online/offline changes in past week 2021-12-28 11:00:51 +01:00
Carsten Otto
de40c32f63 add node warnings functionality (at the moment: only online percentage) 2021-12-27 20:26:24 +01:00