Commit Graph

135 Commits

Author SHA1 Message Date
Carsten Otto
c7bc495d16 refresh channel caches 2021-11-25 20:06:56 +01:00
Carsten Otto
a649067d55 add /status/all-channels/pubkeys endpoint 2021-11-25 19:56:12 +01:00
Carsten Otto
ee05325407 rename field 2021-11-25 19:51:56 +01:00
Carsten Otto
adb0ce0318 remove legacy endpoint 2021-11-25 19:49:31 +01:00
Carsten Otto
7e2153159b add test 2021-11-25 19:49:24 +01:00
Carsten Otto
1e101b130b add /status/open-channels/pubkeys endpoint 2021-11-25 19:43:20 +01:00
Carsten Otto
fbdfe5a893 fix: getAlias should respect hardcoded aliases 2021-11-25 09:23:57 +01:00
Carsten Otto
e7b482d7a6 update spotbugs plugin 2021-11-24 14:20:16 +01:00
Carsten Otto
b711c44038 bypass node details when requesting alias 2021-11-24 13:51:01 +01:00
Carsten Otto
9376f13910 use timer for gRPC calls 2021-11-24 13:29:36 +01:00
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