Commit Graph

229 Commits

Author SHA1 Message Date
Carsten Otto
62878602b5 move method down 2021-12-18 15:22:02 +01:00
Carsten Otto
317af96409 parallelize node details 2021-12-18 01:20:01 +01:00
Carsten Otto
9539a59384 add NodeDetailsService 2021-12-18 01:10:31 +01:00
Carsten Otto
d4b3d755c0 parallelize channel details service 2021-12-18 00:19:44 +01:00
Carsten Otto
71d12e52bb compute channel details in service
lots of refactoring, changes API
2021-12-17 23:56:28 +01:00
Carsten Otto
690960afc4 persist only changed balances 2021-12-15 18:33:06 +01:00
Carsten Otto
0322ce13f3 rename test 2021-12-15 18:06:08 +01:00
Carsten Otto
b2511241db update gradle 2021-12-15 14:11:14 +01:00
Carsten Otto
6e813b7852 add rebalance amounts to channel/node details 2021-12-15 13:38:42 +01:00
Carsten Otto
dede9ea6db add rebalance amounts endpoints, rename controller 2021-12-15 13:16:22 +01:00
Carsten Otto
911614569c get off chain costs for channel 2021-12-15 12:30:13 +01:00
Carsten Otto
576dbd5871 refactor self-payments/rebalance costs code 2021-12-15 11:32:25 +01:00
Carsten Otto
39a6aba404 return summed fees and amounts for self payments 2021-12-14 23:31:16 +01:00
Carsten Otto
59713d1033 improve query speed for self payments 2021-12-14 23:13:54 +01:00
Carsten Otto
0fa9abb19a update checkstyle 2021-12-14 20:11:21 +01:00
Carsten Otto
ef4f857756 add indexes 2021-12-14 20:11:18 +01:00
Carsten Otto
88275a4b43 fix anchor costs 2021-12-13 18:55:28 +01:00
Carsten Otto
67e8bc6637 allow users to specify resolutions manually 2021-12-12 21:12:13 +01:00
Carsten Otto
848afefc84 fix fix :/ 2021-12-12 13:59:52 +01:00
Carsten Otto
4d1e8ec440 fix: only consider own sweep transactions for sweep costs 2021-12-11 20:15:34 +01:00
Carsten Otto
ddf353b854 add force/breach info to close details 2021-12-11 13:10:25 +01:00
Carsten Otto
382777f5ee fix: coop-closed channels have 0 sweep costs 2021-12-11 12:45:29 +01:00
Carsten Otto
244d1819cc load transaction details from blockcypher and bitaps 2021-12-10 21:57:25 +01:00
Carsten Otto
df38fdf3e1 compute sweep costs 2021-12-10 16:23:11 +01:00
Carsten Otto
3c0fca7d5c add model for on chain costs 2021-12-10 14:24:26 +01:00
Carsten Otto
5858a84ef9 move fixtures 2021-12-10 14:24:03 +01:00
Carsten Otto
357d01d7d3 add resolutions (sweep transactions) to closed channels 2021-12-10 10:16:03 +01:00
Carsten Otto
4f9b34e4b3 increase duration for refresh of closed channel data 2021-12-10 09:03:47 +01:00
Carsten Otto
ce5b7c52d9 add rebalance costs to node details 2021-12-09 17:06:19 +01:00
Carsten Otto
3f5ea4ce8e add rebalance costs to channel details 2021-12-09 16:59:03 +01:00
Carsten Otto
820fca691e add endpoints for rebalance costs 2021-12-09 15:58:03 +01:00
Carsten Otto
fc4ac8ebd9 wrap response in object 2021-12-09 14:30:25 +01:00
Carsten Otto
9a8549b527 add self payments endpoints (aggregated per peer) 2021-12-09 14:03:25 +01:00
Carsten Otto
fb8fd3134f add self payments endpoints 2021-12-09 12:35:01 +01:00
Carsten Otto
75bb974224 truncate long keysend messages 2021-12-09 09:15:13 +01:00
Carsten Otto
2779b98de8 rename field 2021-12-06 20:32:05 +01:00
Carsten Otto
f966634103 ignore hops with unset channel ID 2021-12-06 20:25:52 +01:00
Carsten Otto
c08187ba93 persist routes/hops for payments 2021-12-06 20:17:37 +01:00
Carsten Otto
e8be5d58a4 cleanup 2021-12-06 20:17:37 +01:00
Carsten Otto
6826ccd7d9 add test 2021-12-06 20:17:37 +01:00
Carsten Otto
93e229967c revert spotbugs update
this breaks the build cache
2021-12-06 20:15:49 +01:00
Carsten Otto
8347a4ab1d remove dead code 2021-12-06 20:15:26 +01:00
Carsten Otto
aa3a4985c6 update spotbugs 2021-12-06 17:09:22 +01:00
Carsten Otto
7964853037 persist completed payments 2021-12-05 22:34:45 +01:00
Carsten Otto
4e3d825c3c only subscribe to invoices after successful get request 2021-12-05 18:22:11 +01:00
Carsten Otto
586f1194b5 make last hop channel ID optional 2021-12-04 11:08:08 +01:00
Carsten Otto
19c14c6b52 parse last hop channel ID from invoices 2021-12-04 10:52:41 +01:00
Carsten Otto
8208575b49 allow longer keysend messages 2021-12-03 19:00:54 +01:00
Carsten Otto
34ecd46c0d parse keysend v2 messages 2021-12-03 18:58:28 +01:00
Carsten Otto
c811d00326 parse keysend messages 2021-12-03 18:27:07 +01:00