Commit Graph

89 Commits

Author SHA1 Message Date
Carsten Otto
fb8fd3134f add self payments endpoints 2021-12-09 12:35:01 +01:00
Carsten Otto
7964853037 persist completed payments 2021-12-05 22:34:45 +01:00
Carsten Otto
ec1ac9344d persist settled invoices 2021-12-02 18:26:11 +01:00
Carsten Otto
4ebb195f2e add archunit tests 2021-11-30 17:07:13 +01:00
Carsten Otto
68ccbacec6 rename metrics logger 2021-11-30 16:00:44 +01:00
Carsten Otto
f7e76e3e8c use metrics library for spring integration 2021-11-30 15:55:33 +01:00
Carsten Otto
ebcd111fdb move forwarding history into separate module 2021-11-30 09:05:42 +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
Carsten Otto
a82cb13ef7 default to compact form, add channel point to channel details 2021-11-22 19:22:14 +01:00
Carsten Otto
1d41b532c8 include balance and onchain costs in channel details 2021-11-22 18:02:26 +01:00
Carsten Otto
e03ecddf48 make x default in compact form, remove unused endpoint from legacy controller, add compact forms to channel details 2021-11-22 17:36:13 +01:00
Carsten Otto
76628d0ce4 remove open-channels with node from legacy controllre 2021-11-22 17:11:01 +01:00
Carsten Otto
62fabe7369 remove synced-to-chain from legacy controller 2021-11-22 17:08:31 +01:00
Carsten Otto
4a245e15f5 add aggregated balance information to node details 2021-11-22 10:28:58 +01:00
Carsten Otto
0d93411f13 add /api/node/PUBKEY/on-chain-costs 2021-11-22 09:31:55 +01:00
Carsten Otto
edc909811e add open and close costs to node details 2021-11-21 23:17:03 +01:00
Carsten Otto
bdaaa13271 add /api/status/synced-to-chain 2021-11-21 22:53:39 +01:00
Carsten Otto
1deff486a8 include waiting close and pending force closing channel IDs in node details 2021-11-21 22:43:53 +01:00
Carsten Otto
1428db620d include closed channel IDs in node details 2021-11-21 22:24:40 +01:00
Carsten Otto
e4dfd5911d return channels for peer 2021-11-21 22:16:14 +01:00
Carsten Otto
6e242c599c tweak alias cache, refresh more often 2021-11-21 21:12:52 +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
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
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
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
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