Commit Graph

212 Commits

Author SHA1 Message Date
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
Carsten Otto
8656b20784 fix invoice loading
settled invoices may appear for very old addIndex
2021-12-03 17:33:12 +01:00
Carsten Otto
8787dd6607 do not load HTLC outpoint transactions for force-closing channels 2021-12-03 17:13:12 +01:00
Carsten Otto
3363e782ac subscribe to new invoices after loading all in bulk 2021-12-02 22:21:53 +01:00
Carsten Otto
ec1ac9344d persist settled invoices 2021-12-02 18:26:11 +01:00
Carsten Otto
002a6860a7 reduce cache duration 2021-12-01 21:15:32 +01:00
Carsten Otto
ffbb4c6d42 update gradle 2021-12-01 21:15:19 +01:00
Carsten Otto
4ebb195f2e add archunit tests 2021-11-30 17:07:13 +01:00
Carsten Otto
699a34a59e make timed method public 2021-11-30 17:07:07 +01:00
Carsten Otto
0c6c356f83 rename package for forwarding-events code 2021-11-30 17:06:52 +01:00
Carsten Otto
e2ddbd388b make private methods public for @Timed 2021-11-30 16:03:07 +01:00
Carsten Otto
68ccbacec6 rename metrics logger 2021-11-30 16:00:44 +01:00
Carsten Otto
5af1e53c34 rename overloaded methods 2021-11-30 16:00:39 +01:00
Carsten Otto
a524628715 add timers 2021-11-30 15:55:33 +01:00
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