Commit Graph

671 Commits

Author SHA1 Message Date
Carsten Otto
fac4ddcb60 legacy: include fee rate in output 2022-06-02 13:22:27 +02:00
Carsten Otto
74dc369381 legacy: include balance in output 2022-06-02 13:22:27 +02:00
Carsten Otto
c6a646bafc legacy: show capacity without millisat .000 2022-06-02 13:22:27 +02:00
Carsten Otto
e9484006d4 do not persist failed HTLCs 2022-05-30 23:24:22 +02:00
Carsten Otto
4796c6f592 fix: MPP self-payments
fixes #47
2022-05-30 22:23:33 +02:00
Carsten Otto
8580ff685f update cpd 2022-05-30 20:44:27 +02:00
Carsten Otto
bad6a4472d make sure limit is at least 0 2022-05-29 11:16:29 +02:00
Carsten Otto
c63b828621 adapt fee rate for non-last hops based on configured fee rate
fixes #46
2022-05-29 11:08:19 +02:00
Carsten Otto
ef3d188107 fix documentation 2022-05-28 13:01:29 +02:00
Carsten Otto
f28f01ed57 move /beta/pickhardt-payments/ to /api/payments/ 2022-05-28 12:59:40 +02:00
Carsten Otto
8a1c5cdf9e update pmd 2022-05-28 12:01:13 +02:00
Carsten Otto
c06487faeb fix: do not override payment options for top-up 2022-05-27 23:33:32 +02:00
Carsten Otto
cca029c1cb update documentation 2022-05-27 23:22:50 +02:00
Carsten Otto
0356503d5a remove some properties from exposed payment options 2022-05-27 23:22:41 +02:00
Carsten Otto
51d0338e5e use payment options for top-up 2022-05-27 23:09:36 +02:00
Carsten Otto
36133159ef pass payment options via POST 2022-05-27 22:41:31 +02:00
Carsten Otto
a8cd99a823 fix defaults in sample configuration 2022-05-27 22:29:16 +02:00
Carsten Otto
fc36b89b58 fail after 100 loop iterations 2022-05-26 16:35:57 +02:00
Carsten Otto
c3e46931fa fix "off-by one" in output
failure != retry
2022-05-26 15:18:58 +02:00
Carsten Otto
2ba624d36b add missing proto file 2022-05-26 15:12:39 +02:00
Carsten Otto
36643649ef lower threshold for pitest 2022-05-26 15:07:00 +02:00
Carsten Otto
a166c07f8d add test 2022-05-26 15:07:00 +02:00
Carsten Otto
d5c3f39569 top-up: cancel invoice after failure
fixes #40
2022-05-26 14:58:54 +02:00
Carsten Otto
78c8a4581b add info message 2022-05-26 13:15:25 +02:00
Carsten Otto
2af5cc9177 fix off by one in error message 2022-05-26 13:15:03 +02:00
Carsten Otto
ff8e968dfa retry top-up after recoverable failure 2022-05-26 13:05:16 +02:00
Carsten Otto
e9bbec18ed fix test 2022-05-26 12:19:30 +02:00
Carsten Otto
4ea129a42a add test, remove duplicated fee rate limit 2022-05-26 12:14:06 +02:00
Carsten Otto
bbd7434c86 add fee rate including first hop to output 2022-05-26 10:18:33 +02:00
Carsten Otto
da4abdc2f8 top-up: impose stricter fee limit for all hops (but not the ones from the top-up peer) 2022-05-26 10:09:02 +02:00
Carsten Otto
22c5866f6b use native record getter 2022-05-26 09:44:06 +02:00
Carsten Otto
b78de6e623 mark MPPs without route as failed 2022-05-26 09:41:37 +02:00
Carsten Otto
c1e5529647 lower cache expiry for policies 2022-05-25 23:17:47 +02:00
Carsten Otto
ebf2bc70f7 allow amounts with non-0 millisat parts 2022-05-25 20:47:24 +02:00
danielbroll
a8f7ca35bf Improve BalanceInformationModel tests 2022-05-25 20:36:11 +02:00
danielbroll
01dc532c31 Channel list: indicate private channels 2022-05-25 20:36:11 +02:00
danielbroll
cb4fb21cb4 Channel Details Page: remove closed/sweep costs for non-closed channel 2022-05-25 20:36:11 +02:00
danielbroll
5b97d25dcd Refactoring: Split monster tiles.html into different files 2022-05-25 20:36:11 +02:00
danielbroll
40815d32ed use balance bar instead of ratio with dots 2022-05-25 20:36:11 +02:00
danielbroll
286bfcc538 switch to balance model in ui 2022-05-25 20:36:11 +02:00
danielbroll
2b2feb798b introduce new balance information model 2022-05-25 20:36:11 +02:00
danielbroll
afc30d3e50 introduce nodedetailsdto 2022-05-25 20:36:11 +02:00
danielbroll
4da035915e channel details: remove 'active' for closed channels 2022-05-25 20:36:11 +02:00
danielbroll
261e3591f9 hide balance and fee report for closed channels 2022-05-25 20:36:11 +02:00
danielbroll
d130790abd Add closed channel to demo data 2022-05-25 20:36:11 +02:00
Carsten Otto
5fe147f683 remove check
The "available" liquidity used in the comparison is not the actual liquidity,
but the reduced amount (with a safety margin for fees). Comparing against it
defeats the purpose of the safety margin.
2022-05-24 22:39:19 +02:00
Carsten Otto
2230414a7f fix spring startup issue 2022-05-24 22:17:27 +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
ec6c34de85 only check liquidity for first hop (where we know the liquidity) 2022-05-23 00:38:31 +02:00
Carsten Otto
85e390d3ce lower fee rate weight for top-up payments 2022-05-23 00:20:14 +02:00