Commit Graph

972 Commits

Author SHA1 Message Date
Carsten Otto
bb0ae0b300 ignore channels with low remote balance as first hop 2022-11-18 09:17:43 +01:00
Carsten Otto
4674d3d99f introduce lock to avoid concurrent save operations for the same payment 2022-11-17 17:31:00 +01:00
Carsten Otto
0363ea380a ignore edges with CLTV delta that is too high for payment
fixes #77
2022-11-17 17:25:09 +01:00
Carsten Otto
0ee8f795f7 log and fail if route exceeds max-cltv-expiry
fixes #76
2022-11-16 18:13:12 +01:00
Carsten Otto
e5a17f2394 add max-cltv-expiry configuration option 2022-11-16 15:59:06 +01:00
Carsten Otto
ade6f79a5b update pitest 2022-11-16 11:23:57 +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
7b75581051 update pitest 2022-11-11 14:29:53 +01:00
Carsten Otto
cc8a143992 tweak rating computation 2022-11-10 20:36:59 +01:00
Carsten Otto
65047387ea consider local balance for all channels when computing rating for peer
that way an idle channel with lots of local liquidity contributes to a lower peer rating
2022-11-09 17:31:39 +01:00
Carsten Otto
d54b186c87 include information about average local balance in channel rating model 2022-11-09 16:50:31 +01:00
Carsten Otto
70eacfe9b9 include local balance in rating description 2022-11-09 16:33:24 +01:00
Carsten Otto
61eab63d17 include observed duration in rating description for average local balance 2022-11-09 16:23:03 +01:00
Carsten Otto
d5d88291d1 when computing average local balance also return duration 2022-11-09 16:16:49 +01:00
Carsten Otto
1253ae5c8c use value of -1 for missing rating 2022-11-09 15:46:01 +01:00
Carsten Otto
217af122e2 split rating into channel/peer specific instances 2022-11-09 15:20:19 +01:00
Carsten Otto
5faf68d467 refactor record to class 2022-11-09 14:04:21 +01:00
Carsten Otto
ad8f1da6da rename add to combine 2022-11-09 14:04:21 +01:00
Carsten Otto
8bb8419a0a fix: remove slf4j-test from non-test scope 2022-11-09 13:58:45 +01:00
Carsten Otto
3cd569771c remove duplication 2022-11-09 13:58:01 +01:00
Carsten Otto
2414a9c2e9 remove outdated hint 2022-11-09 10:03:22 +01:00
Aaron M
d1256744ad Update layout.html to remove bootstrap css version
The layout is using bootstrap via webjars and is using webjars locator and therefore the version is not necessary in the HTML references. The webjars locator will do the look up and replacement.
2022-11-09 10:03:22 +01:00
Carsten Otto
2062a3b9dd tweak Rating model and service
* extract logic into RatingForChannelService
* add information about days and average liquidity
2022-11-09 09:46:42 +01:00
Carsten Otto
ca052150ff replace underscores in test names 2022-11-08 16:17:31 +01:00
Carsten Otto
072493eab0 fail build if project does not have any test 2022-11-08 14:14:27 +01:00
Carsten Otto
0e7fb059f5 use type instead of string 2022-11-08 12:45:16 +01:00
Carsten Otto
651b707aff run checkstyle and cpd before tests 2022-11-08 12:11:35 +01:00
Carsten Otto
b410a699df run pmd before tests 2022-11-08 12:07:14 +01:00
Carsten Otto
e939df93d6 migrate from groovy to kotlin 2022-11-08 11:20:53 +01:00
Carsten Otto
2a708a56ec update nullaway plugin 2022-11-07 08:32:31 +01:00
Carsten Otto
09a34038c0 add warning 2022-11-03 08:51:32 +01:00
Carsten Otto
1bceb9c044 specify spotbugs version 2022-11-03 08:50:53 +01:00
Carsten Otto
7f132749d8 generate aggregated reports 2022-11-03 08:50:53 +01:00
Aaron M
1d90360507 Update layout.html for boostrap 5.2.2 css 2022-11-02 18:46:57 +01:00
Carsten Otto
7445510b0e sort 2022-11-01 11:57:35 +01:00
Carsten Otto
e21d206e15 fix typo 2022-11-01 11:50:50 +01:00
Carsten Otto
e079a9c521 use types 2022-11-01 11:47:52 +01:00
Carsten Otto
80d54261d4 remove dead code 2022-11-01 11:47:52 +01:00
Carsten Otto
4d4ffbb4e1 refactor 2022-11-01 11:47:52 +01:00
Carsten Otto
237b4f35f6 make constructor visible for JPA 2022-11-01 11:19:13 +01:00
Carsten Otto
6eea2a840f use named instead of findByName 2022-11-01 11:18:05 +01:00
Carsten Otto
5bb521f450 use configureEach instead of all 2022-11-01 11:17:10 +01:00
Carsten Otto
3293514ae7 use named instead of findByName 2022-11-01 11:16:36 +01:00
Carsten Otto
d0b28015f0 use tasks.register 2022-11-01 11:15:23 +01:00
Carsten Otto
c079da0be8 update protobuf libraries 2022-11-01 11:04:48 +01:00
Carsten Otto
3425b9e3ba update pitest plugin 2022-11-01 11:03:40 +01:00
Carsten Otto
2d5b8ce23d update pitest 2022-11-01 11:03:28 +01:00
Carsten Otto
39cf73bc38 update checkstyle 2022-11-01 11:02:54 +01:00
Carsten Otto
d9ab8b7d18 update protobuf plugin 2022-11-01 11:02:02 +01:00