Commit Graph

1123 Commits

Author SHA1 Message Date
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
Carsten Otto
d4659694d5 get channel IDs for open channels 2021-11-12 15:10:23 +01:00
Carsten Otto
3b28617eb9 add incoming-base-fee and outgoing-base-fee endpoints 2021-11-12 15:02:50 +01:00
Carsten Otto
6cbced801a add incoming-fee-rate and outgoing-fee-rate endpoints 2021-11-12 14:47:26 +01:00
Carsten Otto
b8f9af1d72 do not return duplicate pubkeys 2021-11-12 13:38:06 +01:00
Carsten Otto
2ec2ecce9a add peer-pubkeys endpoint
add LocalChannel class
2021-11-12 13:24:36 +01:00
Carsten Otto
367119c8aa remove channellogger 2021-11-12 11:52:28 +01:00
Carsten Otto
b03114c536 add cache for synced-to-chain 2021-11-12 11:50:35 +01:00
Carsten Otto
9193353705 add synced-to-chain endpoint
remove caching from GrpcGetInfo
use pubkey instead of node in channel model
2021-11-12 11:45:11 +01:00
Carsten Otto
3314a49c54 remove infologger 2021-11-12 11:30:48 +01:00
Carsten Otto
e59270674f remove actuator 2021-11-12 10:04:23 +01:00
Carsten Otto
13190eba9c move method to channelservice, add cache 2021-11-12 09:51:41 +01:00
Carsten Otto
3459f2ad8d identify node by pubkey 2021-11-12 09:41:58 +01:00
Carsten Otto
9c2afa0abc move cache to service 2021-11-12 09:29:56 +01:00
Carsten Otto
51f2a9ecca move cache to service 2021-11-12 09:29:46 +01:00
Carsten Otto
70e7683fcb add ChannelService 2021-11-12 09:22:20 +01:00