Commit Graph

175 Commits

Author SHA1 Message Date
Carsten Otto
4833d5bac3 replace DirectedChannelEdge by Edge 2024-10-31 17:10:57 +01:00
Carsten Otto
890a80a49b increase limit for "get payments" via grpc 2024-06-07 10:57:36 +02:00
Carsten Otto
17907e4c44 lower cache timeout for channel policies 2024-05-11 18:18:13 +02:00
Carsten Otto
08fec818ec include both policies for Edge and DirectedChannelEdge 2024-05-03 15:34:23 +02:00
Carsten Otto
04aeaac651 show inbound fees in channel policy 2024-05-03 10:28:42 +02:00
Carsten Otto
3cece1612f minor fixes, preparation for PMD 7 2024-04-11 12:46:40 +02:00
Carsten Otto
b244a9b288 return minimum value for "min_htlc_msat" for channel
this is negotiated with the peer and defines the lower bound
for the values one may set for the local channel policy
2024-01-13 17:59:27 +01:00
Carsten Otto
5e61301e15 export "min_htlc" as part of channel details 2023-09-10 14:47:50 +02:00
Carsten Otto
c415b71bdb reorder arguments 2023-07-04 19:44:28 +02:00
danielbroll
6d386a4b8a Add pending channels page 2023-07-04 19:43:19 +02:00
Carsten Otto
e2fb70857a update to spring boot 3 2022-12-14 21:53:47 +01:00
Carsten Otto
5b49fe3849 update thresholds 2022-12-14 21:11:33 +01:00
Carsten Otto
c9998201e0 force payment failure to avoid stuck payments 2022-11-21 10:58:48 +01:00
Carsten Otto
54569f9c36 skip "in-flight" payments without in-flight HTLC created more than a day ago
this is a workaround for https://github.com/lightningnetwork/lnd/issues/6834
2022-11-16 11:10:27 +01:00
Carsten Otto
cbc513b7ee do not return failed payments
these might cause the "all settled" index to get stuck
2022-11-16 10:12:09 +01:00
Carsten Otto
e939df93d6 migrate from groovy to kotlin 2022-11-08 11:20:53 +01:00
Carsten Otto
84d8b2bf5c update errorprone 2022-11-01 10:51:03 +01:00
Carsten Otto
c8d624fc68 move version definitions to external platform 2022-11-01 10:13:04 +01:00
Carsten Otto
0c2dfeaeef remove all but first and last hop from database 2022-10-25 22:51:48 +02:00
Carsten Otto
9ceb31c47e bugfix: do not override option provided via parameter
fixes #72
2022-10-22 11:51:18 +02:00
Carsten Otto
f696c0f633 fix: allow channel IDs 2^63 <= x < 2^64
fixes #18
2022-10-11 22:55:53 +02:00
Carsten Otto
c57eca472a do not crash on early "onError" invocation
fixes #62
2022-09-05 21:01:08 +02:00
Carsten Otto
e2799d3ce5 breaking change: configurable middleware support
The middleware is required for #PickhardtPayments. With this commit,
it is disabled by default. You need to enable the feature explicitly,
see PickhardtPayments.md.

fixes #63
2022-09-03 10:55:56 +02:00
Carsten Otto
9eb5b635d4 periodically load older settled payments
fixes #66
2022-08-28 18:19:34 +02:00
Carsten Otto
2bb963b3c3 prepare service: return non-settled payments 2022-08-28 17:13:42 +02:00
Carsten Otto
25e5af1831 parse hops for settled invoices 2022-08-27 16:44:27 +02:00
Carsten Otto
9668cc4149 Merge branch 'main' into fix-5746 2022-06-06 16:46:28 +02:00
Carsten Otto
2b4fb44aaa fail edge computation without connected middleware
fixes #36
2022-06-06 16:39:53 +02:00
Carsten Otto
f840b30c01 automatically reconnect to middleware after failure/shutdown
fixes #39
2022-06-06 16:08:21 +02:00
Carsten Otto
e26919ca89 Merge branch 'main' into fix-5746 2022-05-30 23:25:55 +02:00
Carsten Otto
e9484006d4 do not persist failed HTLCs 2022-05-30 23:24:22 +02:00
Carsten Otto
7d5f128a75 Merge branch 'main' into fix-5746 2022-05-30 22:23:58 +02:00
Carsten Otto
4796c6f592 fix: MPP self-payments
fixes #47
2022-05-30 22:23:33 +02:00
Carsten Otto
1b33749224 Merge branch 'main' into fix-5746 2022-05-26 15:12:47 +02:00
Carsten Otto
d5c3f39569 top-up: cancel invoice after failure
fixes #40
2022-05-26 14:58:54 +02:00
Carsten Otto
09829e46a5 Merge branch 'main' into fix-5746 2022-05-25 23:20:25 +02:00
Carsten Otto
c1e5529647 lower cache expiry for policies 2022-05-25 23:17:47 +02:00
Carsten Otto
8a81324758 Merge branch 'main' into fix-5746 2022-05-24 22:19:27 +02:00
Carsten Otto
2230414a7f fix spring startup issue 2022-05-24 22:17:27 +02:00
Carsten Otto
264c9db80b Merge branch 'main' into fix-5746 2022-05-24 22:10:26 +02:00
Carsten Otto
865e68a7d1 invalidate channel cache on in-flight change
this way the local balance returned is (more) accurate

fixes #42
2022-05-24 22:06:07 +02:00
Carsten Otto
fe9fa2b215 Merge branch 'main' into fix-5746 2022-05-22 17:29:53 +02:00
Carsten Otto
23bc14648c add expiry for top-up invoices 2022-05-22 17:24:09 +02:00
Carsten Otto
015b2a3148 Merge branch 'main' into fix-5746 2022-05-21 20:58:49 +02:00
Carsten Otto
a82c5cdc4a add "createPaymentRequest" 2022-05-19 20:50:41 +02:00
Carsten Otto
51d0dce92f add error log message
see #18
2022-05-19 18:10:33 +02:00
Carsten Otto
493b11cbd3 Merge branch 'main' into fix-5746 2022-05-17 16:57:37 +02:00
Carsten Otto
911e217aef add graph service and "number of known channels" endpoint 2022-05-17 16:56:51 +02:00
Carsten Otto
393765c61d improve test 2022-05-17 16:42:15 +02:00
Carsten Otto
4149105d5f Merge branch 'main' into fix-5746 2022-05-17 16:19:01 +02:00