Commit Graph

900 Commits

Author SHA1 Message Date
Carsten Otto
a236c53e59 remove dead code 2022-10-25 21:50:15 +02:00
Carsten Otto
de3f77fcea add another index to hops table 2022-10-25 21:31:47 +02:00
Carsten Otto
85b16dc8e2 add channel_id index on route hops table 2022-10-23 19:02:37 +02:00
Carsten Otto
4a6a11562b persist and use maximum index of known settled payments 2022-10-22 16:24:20 +02:00
Carsten Otto
17d53825ad bugfix: do not loop forever if no settled payment is found 2022-10-22 12:45:48 +02:00
Carsten Otto
88653ef210 bugfix: do not reset index if no payment was handled 2022-10-22 12:45: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
6ab387f84d rescan all settled payments 2022-10-22 11:50:50 +02:00
Carsten Otto
b69714d1f3 update spring boot 2022-10-20 18:34:26 +02:00
Carsten Otto
41df514598 update spotbugs 2022-10-19 12:17:36 +02:00
Carsten Otto
5b5790d07f update nullaway plugin 2022-10-13 21:30:37 +02:00
Carsten Otto
57148e0b37 update errorprone plugin 2022-10-13 21:30:00 +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
cf8f936b11 update errorprone plugin 2022-10-10 20:13:30 +02:00
Carsten Otto
0acc383184 move logic to model 2022-10-08 12:01:21 +02:00
Carsten Otto
0264ddbc14 improve test 2022-10-08 11:10:05 +02:00
Carsten Otto
bf2be0ce78 update archunit 2022-10-04 10:59:48 +02:00
Carsten Otto
a1f088240b update pmd and cpd 2022-10-02 23:34:37 +02:00
Carsten Otto
2dfde613c1 tweak example config documentation 2022-09-27 22:36:10 +02:00
Carsten Otto
e5ee75f6db fix typo 2022-09-27 22:35:32 +02:00
Carsten Otto
deaca76ed4 add new "ingore" options to sample config 2022-09-27 22:32:11 +02:00
Carsten Otto
b39a7b2d92 use ChannelIdParser, deduplicate logic 2022-09-27 22:28:45 +02:00
Carsten Otto
a1ffe15ceb introduce ChannelIdParser 2022-09-27 22:28:45 +02:00
Carsten Otto
94b145d625 tweak tests 2022-09-27 22:28:45 +02:00
danielbroll
9fdc5a1e64 Add config options to ignore warnings:
- online_warning_ignore_node
- channel_fluctuation_warning_ignore_channel
- node_flow_warning_ignore_node
- node_rating_warning_ignore_node
- max_num_updates_warning_ignore_channel
2022-09-27 22:28:45 +02:00
Carsten Otto
ee028bac07 update spring boot 2022-09-22 20:35:36 +02:00
Carsten Otto
acdae95564 use gradle-build-action 2022-09-19 13:35:06 +02:00
Carsten Otto
3a5692a326 add corresponding test for channel warnings service 2022-09-18 13:16:47 +02:00
Carsten Otto
48980b34a0 rename test 2022-09-18 13:16:47 +02:00
Carsten Otto
405d264f99 cleanup 2022-09-18 13:16:47 +02:00
Carsten Otto
f5f32d0864 use two different warnings in test 2022-09-18 13:16:47 +02:00
Aaron Martina
a0dc9d126b Fix to checkstyle 2022-09-18 13:16:47 +02:00
Aaron Martina
a212d69ca8 Fix to issue when multiple open channels to the same node have warnings 2022-09-18 13:16:47 +02:00
Carsten Otto
65e2c2c7b9 add missing annotation 2022-09-16 16:28:59 +02:00
Carsten Otto
adc750dcf1 include some details of rating computation 2022-09-16 16:06:22 +02:00
Carsten Otto
55e8248e7c update spotbugs plugin 2022-09-08 07:45:05 +02:00
Carsten Otto
c57eca472a do not crash on early "onError" invocation
fixes #62
2022-09-05 21:01:08 +02:00
Carsten Otto
19eb399414 update spotbugs 2022-09-04 10:48:16 +02:00
Carsten Otto
e708ddaaec only consider "peer online/offline" for time with open channel
fixes #64
2022-09-03 14:26:31 +02:00
Carsten Otto
c0a9627fa7 extract OverlappingChannelsService 2022-09-03 14:26:31 +02:00
Carsten Otto
e4f5232ff0 shorten test names 2022-09-03 13:05:41 +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
73aa71e36b update pmd/cpd 2022-09-01 08:00:18 +02:00
Carsten Otto
9eb5b635d4 periodically load older settled payments
fixes #66
2022-08-28 18:19:34 +02:00
Carsten Otto
2f4d740b17 add "all settled index" to payments dao 2022-08-28 18:18:43 +02:00
Carsten Otto
2bb963b3c3 prepare service: return non-settled payments 2022-08-28 17:13:42 +02:00
Carsten Otto
3fcd71924b use amount of received payments for rating 2022-08-28 15:55:42 +02:00
Carsten Otto
2c17a0f714 bugfix: use seconds not milliseconds for settled invoices query 2022-08-28 15:38:55 +02:00
Carsten Otto
e0138c6e81 bugfix: properly exclude self-payments when computing amount received via payments 2022-08-28 15:33:54 +02:00
Carsten Otto
42205e18c3 include amount of received payments in FlowReport
self-payments are not included
2022-08-27 18:40:59 +02:00