Commit Graph

88 Commits

Author SHA1 Message Date
Carsten Otto
d4e2120bb6 migrate to duration as expiry parameter 2021-11-21 20:06:55 +01:00
Carsten Otto
59d984ec96 remove "get alias" from legacy controller 2021-11-20 19:53:47 +01:00
Carsten Otto
f84afefbe3 tweak caches 2021-11-20 11:49:49 +01:00
Carsten Otto
3817f11e32 add cache for listPeers 2021-11-19 21:17:34 +01:00
Carsten Otto
5bbcd56f49 cache peers/nodes 2021-11-19 20:56:00 +01:00
Carsten Otto
e6b2e74891 add online status to node details 2021-11-19 20:46:58 +01:00
Carsten Otto
9e0f4e58aa only load channels when needed 2021-11-19 18:41:48 +01:00
Carsten Otto
256c1cc42a add private status to channel details 2021-11-19 18:18:52 +01:00
Carsten Otto
e938c2d8a0 add node details 2021-11-19 17:31:35 +01:00
Carsten Otto
840938676e add remote pubkey and alias to channel details 2021-11-19 17:19:26 +01:00
Carsten Otto
854786c1e2 provide details for channel (work in progress, currently only shows channel id) 2021-11-19 17:03:22 +01:00
Carsten Otto
09d0fb1f17 add test 2021-11-19 14:18:31 +01:00
Carsten Otto
faea85375d non-closed channels have 0 close cost 2021-11-19 14:09:08 +01:00
Carsten Otto
1e397c926c get close costs via controller 2021-11-19 13:02:08 +01:00
Carsten Otto
d63d2c0604 add cache 2021-11-19 10:24:54 +01:00
Carsten Otto
7db25e5192 resolve open initiator based on known transactions in lnd 2021-11-19 09:19:05 +01:00
Carsten Otto
6e3d18790b add OnChainCostService 2021-11-18 22:42:38 +01:00
Carsten Otto
f33138c645 parse open/close initiator 2021-11-18 09:20:53 +01:00
Carsten Otto
6d80886a84 parse force closed channels 2021-11-17 18:01:43 +01:00
Carsten Otto
935262e4c2 fix 2021-11-17 08:58:41 +01:00
Carsten Otto
9161d49b55 don't log "unknown node" errors 2021-11-17 08:50:47 +01:00
Carsten Otto
1d4ecb4813 load transaction details for outpoints of pending HTLCs in force-closing channels 2021-11-16 23:40:50 +01:00
Carsten Otto
a63a8f96bd rename classes 2021-11-16 23:17:51 +01:00
Carsten Otto
2f45d930de load more transaction details in background 2021-11-16 22:57:13 +01:00
Carsten Otto
6a5c0dcf21 use static import 2021-11-16 22:21:07 +01:00
Carsten Otto
8186a342fa download transactions for open channels in background 2021-11-16 22:18:13 +01:00
Carsten Otto
f50d91251f get waiting-close channels 2021-11-16 22:01:27 +01:00
Carsten Otto
6b6280a013 cache force-closing channels 2021-11-16 21:41:13 +01:00
Carsten Otto
6b8614a614 get force-closing channels 2021-11-16 19:58:23 +01:00
Carsten Otto
0c892ca88e update grpc dependencies 2021-11-16 18:55:00 +01:00
Carsten Otto
5ef98e89fe always run pitest in github job 2021-11-16 18:48:29 +01:00
Carsten Otto
b16ae5bba4 directly resolve channel id 2021-11-16 18:46:30 +01:00
Carsten Otto
4d5ba9d2d8 get all channels for peer 2021-11-15 19:20:30 +01:00
Carsten Otto
19e664ff35 resolve channel id by downloading transactions 2021-11-15 18:52:28 +01:00
Carsten Otto
dd6341a18d introduce UnresolvedClosedChannel class 2021-11-15 11:43:50 +01:00
Carsten Otto
5a0aec67a3 add channel point 2021-11-15 10:58:21 +01:00
Carsten Otto
77c1c94167 ignore closed channels with ID 0 2021-11-15 09:52:48 +01:00
Carsten Otto
518aeb383b fix concurrency issues 2021-11-15 09:26:57 +01:00
Carsten Otto
9013d23feb get closed channels 2021-11-15 09:25:06 +01:00
Carsten Otto
66a1f809d1 add test 2021-11-15 08:52:32 +01:00
Carsten Otto
33ed7ec47a update spotbugs plugin 2021-11-15 08:31:23 +01:00
Carsten Otto
8ce2617f55 get balance summed up for all channels with peer 2021-11-13 14:35:29 +01:00
Carsten Otto
887952d01e log metrics for legacy controller 2021-11-13 14:08:41 +01:00
Carsten Otto
a696e0bbd8 log metrics for GRPC invocations 2021-11-13 13:33:34 +01:00
Carsten Otto
c045b30767 remove HTLC logger 2021-11-13 11:53:35 +01:00
Carsten Otto
0eefa8db0e add cache for getChannels 2021-11-13 10:23:36 +01:00
Carsten Otto
9cd344b7ae get available remote balance 2021-11-12 18:13:31 +01:00
Carsten Otto
a746dfd664 get available local balance 2021-11-12 17:35:05 +01:00
Carsten Otto
def458ebbb pretty-print channels 2021-11-12 16:30:36 +01:00
Carsten Otto
bc55943f9d get channel IDs for open channels in compact format 2021-11-12 15:55:56 +01:00