Commit Graph

87 Commits

Author SHA1 Message Date
Carsten Otto
aaf4cc9b37 rename "policies" to "policies for local channel" 2022-03-22 20:19:31 +01:00
Carsten Otto
a23dd3a8e1 add test 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
d9f0265194 do not require trailing slash 2022-03-09 22:28:31 +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
119927a34a simplify code 2022-01-29 14:13:05 +01:00
Carsten Otto
a2ab1da3c6 decouple integration tests from tests 2022-01-23 23:36:06 +01:00
Carsten Otto
04975c8314 fix: sort in controller, not service 2022-01-16 17:01:46 +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
ed79b75694 cleanup imports 2021-12-30 18:02:42 +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
Carsten Otto
5fa0851bd7 test that zero seconds are included in output 2021-12-27 20:17:14 +01:00
Carsten Otto
6d9e33b18d report online percentage in online report 2021-12-25 20:28:58 +01:00
Carsten Otto
c3eead54bc add online report 2021-12-24 16:16:28 +01:00
Carsten Otto
ddc156e566 replace isClosed etc. by instanceof
this fixes a class cycle
2021-12-24 13:43:30 +01:00
Carsten Otto
d47bb2035f move class 2021-12-22 16:42:42 +01:00
Carsten Otto
d8ecc89d58 return rebalance support as source/target 2021-12-22 16:12:33 +01:00
Carsten Otto
9539a59384 add NodeDetailsService 2021-12-18 01:10:31 +01:00
Carsten Otto
71d12e52bb compute channel details in service
lots of refactoring, changes API
2021-12-17 23:56:28 +01:00
Carsten Otto
6e813b7852 add rebalance amounts to channel/node details 2021-12-15 13:38:42 +01:00
Carsten Otto
dede9ea6db add rebalance amounts endpoints, rename controller 2021-12-15 13:16:22 +01:00
Carsten Otto
911614569c get off chain costs for channel 2021-12-15 12:30:13 +01:00
Carsten Otto
576dbd5871 refactor self-payments/rebalance costs code 2021-12-15 11:32:25 +01:00
Carsten Otto
39a6aba404 return summed fees and amounts for self payments 2021-12-14 23:31:16 +01:00
Carsten Otto
59713d1033 improve query speed for self payments 2021-12-14 23:13:54 +01:00
Carsten Otto
ddf353b854 add force/breach info to close details 2021-12-11 13:10:25 +01:00
Carsten Otto
df38fdf3e1 compute sweep costs 2021-12-10 16:23:11 +01:00
Carsten Otto
3c0fca7d5c add model for on chain costs 2021-12-10 14:24:26 +01:00
Carsten Otto
5858a84ef9 move fixtures 2021-12-10 14:24:03 +01:00
Carsten Otto
ce5b7c52d9 add rebalance costs to node details 2021-12-09 17:06:19 +01:00
Carsten Otto
3f5ea4ce8e add rebalance costs to channel details 2021-12-09 16:59:03 +01:00
Carsten Otto
820fca691e add endpoints for rebalance costs 2021-12-09 15:58:03 +01:00
Carsten Otto
fc4ac8ebd9 wrap response in object 2021-12-09 14:30:25 +01:00
Carsten Otto
9a8549b527 add self payments endpoints (aggregated per peer) 2021-12-09 14:03:25 +01:00
Carsten Otto
fb8fd3134f add self payments endpoints 2021-12-09 12:35:01 +01:00
Carsten Otto
e8be5d58a4 cleanup 2021-12-06 20:17:37 +01:00
Carsten Otto
7964853037 persist completed payments 2021-12-05 22:34:45 +01:00
Carsten Otto
4ebb195f2e add archunit tests 2021-11-30 17:07:13 +01:00