Commit Graph

125 Commits

Author SHA1 Message Date
Carsten Otto
f43cfbfe5b remove unused legacy endpoints 2021-11-24 13:05:48 +01:00
Carsten Otto
da9518d711 add /balance endpoint for channels 2021-11-24 13:00:33 +01:00
Carsten Otto
09a57923a5 add /balance endpoint for nodes 2021-11-24 12:52:43 +01:00
Carsten Otto
30aae170fe add fee-configuration endpoint for channel 2021-11-24 12:40:40 +01:00
Carsten Otto
7ac9230adc rename controller 2021-11-24 12:13:50 +01:00
Carsten Otto
960ebfef34 add equals/hashcode for id class 2021-11-24 11:03:09 +01:00
Carsten Otto
8e84a10272 do not return fee information for non-open channels 2021-11-24 11:00:03 +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
aefcb3c200 add open/closed/pending/... state, group channel status 2021-11-24 09:21:54 +01:00
Carsten Otto
679063de61 consider force-closing channel as not closed (yet) 2021-11-24 08:52:03 +01:00
Carsten Otto
29aef8d083 add "is closed" to channel details 2021-11-23 23:03:51 +01:00
Carsten Otto
6d3b463e70 refresh channels/peers/transactions 2021-11-23 22:46:53 +01:00
Carsten Otto
1af968ee25 add "is active" to channel details 2021-11-23 22:41:23 +01:00
Carsten Otto
073d0b3d17 add open height to channel details 2021-11-23 22:20:36 +01:00
Carsten Otto
565cc22a8f add capacity to channel details 2021-11-23 22:06:21 +01:00
Carsten Otto
081c3acfd9 tweak terminal hack 2021-11-23 12:48:25 +01:00
Carsten Otto
55a71c7436 update start script 2021-11-23 12:45:15 +01:00
Carsten Otto
d39bab575c rename: statistics -> balances 2021-11-23 12:32:17 +01:00
Carsten Otto
a0659f48f6 add default constructor for JPA 2021-11-23 11:57:30 +01:00
Carsten Otto
a879d6070e add missing @Component 2021-11-23 11:52:37 +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
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