Commit Graph

56 Commits

Author SHA1 Message Date
Carsten Otto
e4dfd5911d return channels for peer 2021-11-21 22:16:14 +01:00
Carsten Otto
0a40a4800c upgrade cache to caffeine, tweak alias caching, add refresh feature 2021-11-21 21:11:03 +01:00
Carsten Otto
59d984ec96 remove "get alias" from legacy controller 2021-11-20 19:53:47 +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
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
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
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
6b8614a614 get force-closing channels 2021-11-16 19:58:23 +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
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
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
c045b30767 remove HTLC logger 2021-11-13 11:53:35 +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
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
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
70e7683fcb add ChannelService 2021-11-12 09:22:20 +01:00
Carsten Otto
7bd5f8d406 return channel IDs line by line 2021-11-12 09:09:34 +01:00
Carsten Otto
3888614d56 rename controller 2021-11-12 09:06:55 +01:00
Carsten Otto
2f8980db0f fiq jq issue, use string instead of long 2021-11-11 20:31:33 +01:00