Commit Graph

475 Commits

Author SHA1 Message Date
Carsten Otto
857bfeb5ae cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
7242bd3d96 cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
925f28e08c rename integration tests 2022-05-11 07:12:35 +02:00
Carsten Otto
a997110deb cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
51ff2f70ae cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
1c9595483b rename "chan" to "channel" 2022-05-11 07:12:35 +02:00
Carsten Otto
cf03cf259e accept channel ID in all supported formats 2022-05-11 07:12:35 +02:00
Carsten Otto
7a2afd71a2 use static imports 2022-05-11 07:12:35 +02:00
Carsten Otto
94ca3add7b make test fixtures dependency explicit 2022-05-11 07:12:35 +02:00
danielbroll
f851f589dc fixed checkstyle & pmd 2022-05-11 07:12:35 +02:00
danielbroll
ab91b9ed2b pmd 2022-05-11 07:12:35 +02:00
danielbroll
9ae865b4d7 checkstyle 2022-05-11 07:12:35 +02:00
danielbroll
6541032662 remove duplicated code 2022-05-11 07:12:35 +02:00
danielbroll
e7e7bcf374 fix checkstyle 2022-05-11 07:12:35 +02:00
danielbroll
647de17c17 thymeleaf dashboard 2022-05-11 07:12:35 +02:00
Carsten Otto
8574e9d54b introduce "fee insufficient" failure code 2022-05-09 23:51:18 +02:00
Carsten Otto
b24dc880b5 cancel in-flight if payment fails immediately 2022-05-09 23:36:03 +02:00
Carsten Otto
f136ae71f2 demote loglevel to debug 2022-05-09 19:57:47 +02:00
Carsten Otto
dd79bad4de deduct on-chain fee related reserve from available balance 2022-05-09 19:56:11 +02:00
Carsten Otto
2fa7a661c0 improve logging 2022-05-09 19:55:38 +02:00
Carsten Otto
f5888fde30 reduce available local liquidity by 1% to make some room for off-chain fees 2022-05-08 23:13:49 +02:00
Carsten Otto
a679181604 make liquidity information immutable, improve caching 2022-05-08 22:47:58 +02:00
Carsten Otto
85d0e66b15 refine test 2022-05-08 13:03:50 +02:00
Carsten Otto
721fc7e50f add tests 2022-05-08 13:03:50 +02:00
Carsten Otto
f4f1ef5697 fix another liquidity quirk 2022-05-06 21:51:51 +02:00
Carsten Otto
e40279857e fix liquidity computation: lower bound vs. in-flight 2022-05-06 21:28:57 +02:00
Carsten Otto
798f8cbfe5 fix probability computation 2022-05-05 19:46:42 +02:00
Carsten Otto
1815edddbc fix bound computation with amounts in flight 2022-05-04 22:15:59 +02:00
Carsten Otto
d1567f45d8 pay payment requests via pickhardt payments 2022-05-04 20:59:34 +02:00
Carsten Otto
168ee15e5d reduce quantization for small amounts 2022-05-04 19:51:25 +02:00
Carsten Otto
57a1b5cafb sprinkle in a bit of synchronization 2022-05-03 21:28:11 +02:00
Carsten Otto
0438238367 add in flight at start of payment attempt 2022-05-03 20:57:48 +02:00
Carsten Otto
93da8762df remove in flight at success/failure 2022-05-03 20:43:44 +02:00
Carsten Otto
f62d67b8c4 track "in flight" amount 2022-05-03 18:56:30 +02:00
Carsten Otto
296240b52c reuse Coins.NONE object instance 2022-05-03 18:41:08 +02:00
Carsten Otto
3aa67eac7d update spotbugs 2022-05-03 17:42:09 +02:00
Carsten Otto
f936c65cd4 refactor to use switch statement 2022-05-03 17:28:14 +02:00
Carsten Otto
6f57035f2f update nullaway plugin 2022-05-03 17:28:14 +02:00
Carsten Otto
4bc0f55779 update error-prone 2022-05-03 17:23:07 +02:00
Carsten Otto
3b74f41cb6 handle failures at end of route 2022-05-02 18:18:08 +02:00
Carsten Otto
d90815469c log for unknown failures 2022-05-01 13:40:18 +02:00
Carsten Otto
34a35f9822 handle channel disabled / unknown next peer failures 2022-05-01 13:38:08 +02:00
Carsten Otto
c60ce304e2 disable cache 2022-05-01 13:23:39 +02:00
Carsten Otto
01342f268d add warning 2022-05-01 13:23:39 +02:00
Carsten Otto
667a659fc1 update liquidity state for HTLCAttempt messages 2022-05-01 12:52:27 +02:00
Carsten Otto
70f329fa08 return "channel disabled" policy if policy is not known by lnd 2022-04-30 18:01:29 +02:00
Carsten Otto
d9342780cd make "max age" customizable 2022-04-30 17:42:22 +02:00
Carsten Otto
d9836779e5 allow custom "maxAge" for liquidity bounds information 2022-04-30 17:31:04 +02:00
Carsten Otto
b693b99a0b make usage of mission control configurable 2022-04-30 17:21:13 +02:00
Carsten Otto
97c4524fa3 use less confusing variable name 2022-04-30 16:33:55 +02:00