Commit Graph

642 Commits

Author SHA1 Message Date
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
Carsten Otto
6c6dbdae2f fix error message 2022-05-23 00:03:13 +02:00
Carsten Otto
7a784f90bc add toString 2022-05-22 23:32:58 +02:00
Carsten Otto
f4b146da58 add log statement 2022-05-22 23:23:51 +02:00
Carsten Otto
116dd4a508 provide better failure reporting 2022-05-22 23:11:40 +02:00
Carsten Otto
35ba9d9aeb increase expiry to 30 minutes 2022-05-22 20:04:14 +02:00
Carsten Otto
91aa30da88 exclude channels with fee rate at fee rate limit 2022-05-22 19:36:56 +02:00
Carsten Otto
20f6fb6178 fail route computation if amount does not fit 2022-05-22 19:00:10 +02:00
Carsten Otto
9d80b6f132 include channel ID in top-up invoice memo 2022-05-22 17:49:23 +02:00
Carsten Otto
86f62f60ac remove redundant amount from invoice memo 2022-05-22 17:45:13 +02:00
Carsten Otto
c20177877e fix import 2022-05-22 17:27:39 +02:00
Carsten Otto
23bc14648c add expiry for top-up invoices 2022-05-22 17:24:09 +02:00
Carsten Otto
38b81fa27a fix: only consider open channels 2022-05-22 17:05:32 +02:00
Carsten Otto
b7c5f4ac09 work around PMD bug 2022-05-22 17:04:26 +02:00
Carsten Otto
0259044747 add details to error messages 2022-05-22 16:58:27 +02:00
Carsten Otto
fc78fe2b66 fix fee limit for top up service: extension hop is included in check 2022-05-22 16:45:27 +02:00
Carsten Otto
302b7b57fd add test 2022-05-22 16:41:31 +02:00
Carsten Otto
59365f34ef add test 2022-05-22 16:18:08 +02:00
Carsten Otto
3c50596437 add top-up functionality 2022-05-22 16:00:50 +02:00
Carsten Otto
5a1ced06a6 add getMinimumFeeRateFrom/To 2022-05-22 14:43:50 +02:00
Carsten Otto
7957cb3ba2 introduce payment options 2022-05-22 14:43:50 +02:00
Carsten Otto
d17d61756c add basic top up service 2022-05-22 14:43:50 +02:00
Carsten Otto
5e9d1c8e2d fix race condition 2022-05-22 14:39:55 +02:00
danielbroll
8d3a32b6a0 dashboard/nodes page: group nodes by online/offline & sort nodes by alias 2022-05-22 11:07:21 +02:00
danielbroll
75ee35a7df add balance information ratio bar (channel details) 2022-05-22 11:07:21 +02:00
danielbroll
c4a463ae0b add amboss & 1ml links 2022-05-22 11:07:21 +02:00
danielbroll
4f616242fa ui-demo: remove derived node & channel warnings 2022-05-22 11:07:21 +02:00
danielbroll
05f20e36d8 hide warning box if empty (node & channel details) 2022-05-22 11:07:21 +02:00
danielbroll
67ba6fe0bd style tiles with columns 2022-05-22 11:07:21 +02:00
danielbroll
b8cf1b318a channel details page: add channel status 2022-05-22 11:07:21 +02:00