Commit Graph

80 Commits

Author SHA1 Message Date
Carsten Otto
1d89353744 get policy for non-local channel 2022-03-26 20:36:00 +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
3775744343 add mission control service 2022-03-13 18:39:33 +01:00
Carsten Otto
81281ab484 add channel balance fluctuation warning 2022-02-27 15:02:24 +01:00
Carsten Otto
0b87aa1534 add channel warnings (num updates > 100k) 2022-02-26 19:47:12 +01:00
Carsten Otto
88bbaa8c22 parse num_updates for open channels 2022-02-26 17:45:41 +01:00
Carsten Otto
89915b13e0 refactor test 2022-01-16 17:21:16 +01:00
Carsten Otto
3e24bb7a9e increase minimum to 30 days for flow warning 2022-01-16 17:10:29 +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
47fba1eb34 extract closed channel aware cache, use it where possible 2022-01-15 15:50:04 +01:00
Carsten Otto
859d9ff8c8 add cache 2022-01-14 14:11:02 +01:00
Carsten Otto
4e865d5c6f warn if peer has no flow for >= 14 days 2022-01-14 13:20:22 +01:00
Carsten Otto
48bee746ab fix test 2022-01-10 21:26:22 +01:00
Carsten Otto
9eb8f86160 add flow reports 2022-01-10 20:51:49 +01:00
Carsten Otto
af07eb9eac add max age support to rebalance/self payments 2022-01-10 14:26:37 +01:00
Carsten Otto
6eacd8c485 use soft values for potentially large caches 2022-01-02 15:48:25 +01:00
Carsten Otto
b92eee7dc9 add missing information to peer fee report 2022-01-02 11:30:23 +01:00
Carsten Otto
ed56fa7eea move caching to ForwardingEventsService 2022-01-01 22:25:29 +01:00
Carsten Otto
6a540df944 provide closed channels as map
and remove unused method
2021-12-30 19:10:51 +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
06bab3c295 use channel caches for node fee report 2021-12-30 14:22:17 +01:00
Carsten Otto
4d1b83e2a7 get forwarding events filtered by maximum age 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
fba5090268 add cache 2021-12-28 09:31:07 +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
f84a9174d7 add test 2021-12-26 10:59:08 +01:00
Carsten Otto
7ef48a765c fix test 2021-12-25 20:39:35 +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
d8ecc89d58 return rebalance support as source/target 2021-12-22 16:12:33 +01:00
Carsten Otto
317af96409 parallelize node details 2021-12-18 01:20:01 +01:00
Carsten Otto
9539a59384 add NodeDetailsService 2021-12-18 01:10:31 +01:00
Carsten Otto
d4b3d755c0 parallelize channel details service 2021-12-18 00:19:44 +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
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
88275a4b43 fix anchor costs 2021-12-13 18:55:28 +01:00
Carsten Otto
67e8bc6637 allow users to specify resolutions manually 2021-12-12 21:12:13 +01:00
Carsten Otto
848afefc84 fix fix :/ 2021-12-12 13:59:52 +01:00
Carsten Otto
4d1e8ec440 fix: only consider own sweep transactions for sweep costs 2021-12-11 20:15:34 +01:00
Carsten Otto
382777f5ee fix: coop-closed channels have 0 sweep costs 2021-12-11 12:45:29 +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