Commit Graph

47 Commits

Author SHA1 Message Date
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
Carsten Otto
5858a84ef9 move fixtures 2021-12-10 14:24:03 +01:00
Carsten Otto
4f9b34e4b3 increase duration for refresh of closed channel data 2021-12-10 09:03:47 +01:00
Carsten Otto
820fca691e add endpoints for rebalance costs 2021-12-09 15:58:03 +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
8787dd6607 do not load HTLC outpoint transactions for force-closing channels 2021-12-03 17:13:12 +01:00
Carsten Otto
0c6c356f83 rename package for forwarding-events code 2021-11-30 17:06:52 +01:00
Carsten Otto
5af1e53c34 rename overloaded methods 2021-11-30 16:00:39 +01:00
Carsten Otto
a524628715 add timers 2021-11-30 15:55:33 +01:00
Carsten Otto
7835750ac3 add longer-lasting cache for fee reports of closed channels 2021-11-30 14:06:36 +01:00
Carsten Otto
65ce10ae13 cache fee report 2021-11-30 13:52:20 +01:00
Carsten Otto
e42a106a35 add fee report model 2021-11-30 13:49:38 +01:00
Carsten Otto
beca0a2aaa add "sourced" fees to fee report 2021-11-30 13:26:41 +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
4f10dba0ac use parallel streams 2021-11-28 13:26:04 +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
bd0cdf0d98 cache block height, refresh status caches 2021-11-27 12:00:21 +01:00
Carsten Otto
c9e514e425 add get-blockheight to status controller 2021-11-27 11:56:13 +01:00
Carsten Otto
c7bc495d16 refresh channel caches 2021-11-25 20:06:56 +01:00
Carsten Otto
ee05325407 rename field 2021-11-25 19:51:56 +01:00
Carsten Otto
fbdfe5a893 fix: getAlias should respect hardcoded aliases 2021-11-25 09:23:57 +01:00
Carsten Otto
b711c44038 bypass node details when requesting alias 2021-11-24 13:51:01 +01:00
Carsten Otto
3b21b3238a use aggregated information from fee service 2021-11-24 10:50:31 +01:00
Carsten Otto
fff6a10c4a include fee configuration in channel details 2021-11-24 10:39:59 +01:00
Carsten Otto
1af968ee25 add "is active" to channel details 2021-11-23 22:41:23 +01:00
Carsten Otto
765efd4de2 periodically log channel balances 2021-11-23 11:45:50 +01:00
Carsten Otto
874e8fffa6 restructure project 2021-11-22 20:24:13 +01:00