Commit Graph

93 Commits

Author SHA1 Message Date
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
4e865d5c6f warn if peer has no flow for >= 14 days 2022-01-14 13:20: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
2d49014f4d do not query dao for channels closed a long time ago 2021-12-30 15:38:47 +01:00
Carsten Otto
3375ff2abb enable addition of fee reports 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
de40c32f63 add node warnings functionality (at the moment: only online percentage) 2021-12-27 20:26:24 +01:00
Carsten Otto
8ef3436f96 add ID to exception message 2021-12-26 11:58:11 +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
a2391531a1 persist online status for peers 2021-12-18 18:08:53 +01:00
Carsten Otto
8f84689632 persist (and use) "is private" information 2021-12-18 16:58:48 +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
576dbd5871 refactor self-payments/rebalance costs code 2021-12-15 11:32:25 +01:00
Carsten Otto
59713d1033 improve query speed for self payments 2021-12-14 23:13:54 +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
4d1e8ec440 fix: only consider own sweep transactions for sweep costs 2021-12-11 20:15:34 +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
357d01d7d3 add resolutions (sweep transactions) to closed channels 2021-12-10 10:16:03 +01:00
Carsten Otto
820fca691e add endpoints for rebalance costs 2021-12-09 15:58:03 +01:00
Carsten Otto
fb8fd3134f add self payments endpoints 2021-12-09 12:35:01 +01:00
Carsten Otto
c08187ba93 persist routes/hops for payments 2021-12-06 20:17:37 +01:00
Carsten Otto
6826ccd7d9 add test 2021-12-06 20:17:37 +01:00
Carsten Otto
7964853037 persist completed payments 2021-12-05 22:34:45 +01:00
Carsten Otto
586f1194b5 make last hop channel ID optional 2021-12-04 11:08:08 +01:00
Carsten Otto
19c14c6b52 parse last hop channel ID from invoices 2021-12-04 10:52:41 +01:00
Carsten Otto
c811d00326 parse keysend messages 2021-12-03 18:27:07 +01:00
Carsten Otto
ec1ac9344d persist settled invoices 2021-12-02 18:26:11 +01:00
Carsten Otto
e42a106a35 add fee report model 2021-11-30 13:49:38 +01:00
Carsten Otto
75b17b6072 add fee report endpoint for node, add to details 2021-11-30 12:51:34 +01:00
Carsten Otto
c6889952ef add fee service
this renames forwarding event fields in the database
2021-11-30 11:00:20 +01:00
Carsten Otto
83c49e78c2 persist forwarding events 2021-11-29 23:01:54 +01:00
Carsten Otto
9d3654aa26 include close details in channel details 2021-11-28 15:03:28 +01:00
Carsten Otto
df7e6639d2 add close height to model 2021-11-28 14:27:00 +01:00
Carsten Otto
b6f79d7cb7 move feeconfiguration to policies (local+remote) 2021-11-28 12:57:02 +01:00
Carsten Otto
7c64fe172b add channel enabled status to fee configuration 2021-11-28 12:04:05 +01:00
Carsten Otto
d6e16fb8f0 return total sent/received in channel information 2021-11-27 19:13:34 +01:00
Carsten Otto
3b21b3238a use aggregated information from fee service 2021-11-24 10:50:31 +01:00