Commit Graph

166 Commits

Author SHA1 Message Date
Carsten Otto
f7e76e3e8c use metrics library for spring integration 2021-11-30 15:55:33 +01:00
Carsten Otto
7835750ac3 add longer-lasting cache for fee reports of closed channels 2021-11-30 14:06:36 +01:00
Carsten Otto
65ce10ae13 cache fee report 2021-11-30 13:52:20 +01:00
Carsten Otto
e42a106a35 add fee report model 2021-11-30 13:49:38 +01:00
Carsten Otto
beca0a2aaa add "sourced" fees to fee report 2021-11-30 13:26:41 +01:00
Carsten Otto
75b17b6072 add fee report endpoint for node, add to details 2021-11-30 12:51:34 +01:00
Carsten Otto
113a96054e add basic fee report 2021-11-30 12:34:22 +01:00
Carsten Otto
30f109ad30 request more forward events when maximum number is returned 2021-11-30 11:29:14 +01:00
Carsten Otto
c6889952ef add fee service
this renames forwarding event fields in the database
2021-11-30 11:00:20 +01:00
Carsten Otto
ebcd111fdb move forwarding history into separate module 2021-11-30 09:05:42 +01:00
Carsten Otto
3087adcd85 add class to timer names 2021-11-30 08:57:40 +01:00
Carsten Otto
83c49e78c2 persist forwarding events 2021-11-29 23:01:54 +01:00
Carsten Otto
5756ee33b6 refactor 2021-11-29 17:18:24 +01:00
Carsten Otto
2760238756 resolve channel ID from channel point 2021-11-28 18:49:25 +01:00
Carsten Otto
8a520895ed include close details in channel basic information 2021-11-28 16:10:07 +01:00
Carsten Otto
9d3654aa26 include close details in channel details 2021-11-28 15:03:28 +01:00
Carsten Otto
e4ac33a6c8 add /close-details endpoint for channel 2021-11-28 14:41:50 +01:00
Carsten Otto
df7e6639d2 add close height to model 2021-11-28 14:27:00 +01:00
Carsten Otto
4f10dba0ac use parallel streams 2021-11-28 13:26:04 +01:00
Carsten Otto
b6f79d7cb7 move feeconfiguration to policies (local+remote) 2021-11-28 12:57:02 +01:00
Carsten Otto
7c64fe172b add channel enabled status to fee configuration 2021-11-28 12:04:05 +01:00
Carsten Otto
d6e16fb8f0 return total sent/received in channel information 2021-11-27 19:13:34 +01:00
Carsten Otto
05892ab376 remove legacy endpoint 2021-11-27 17:39:24 +01:00
Carsten Otto
e61cfa6ee2 add endpoint: get all channels for peer 2021-11-27 17:35:54 +01:00
Carsten Otto
280804587e add endpoints: get all / all open channels 2021-11-27 17:26:37 +01:00
Carsten Otto
df2bd929ee update cpd 2021-11-27 13:31:22 +01:00
Carsten Otto
bd19147f9f udpate pmd 2021-11-27 12:01:42 +01:00
Carsten Otto
bd0cdf0d98 cache block height, refresh status caches 2021-11-27 12:00:21 +01:00
Carsten Otto
c9e514e425 add get-blockheight to status controller 2021-11-27 11:56:13 +01:00
Carsten Otto
9800c2ac5b add openInitiator to channel basic info/details 2021-11-26 10:42:07 +01:00
Carsten Otto
500d2b4392 add endpoint providing basic channel information 2021-11-25 20:32:26 +01:00
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