Commit Graph

634 Commits

Author SHA1 Message Date
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
danielbroll
3fa224329b refactor ui fixtures package structure 2022-05-22 11:07:21 +02:00
danielbroll
1cb06c1baf channel detail page: show capacity 2022-05-22 11:07:21 +02:00
danielbroll
098783a4af extract fee policy tile from status tile
change rebalance report icon
2022-05-22 11:07:21 +02:00
danielbroll
b223aa5cea channel-list add capacity 2022-05-22 11:07:21 +02:00
danielbroll
7756e623b3 node-details page: show "available" balance on top 2022-05-22 11:07:21 +02:00
Carsten Otto
697ea16884 also add arcs for small channels 2022-05-21 22:23:56 +02:00
Carsten Otto
af9142554b add debug statements 2022-05-21 21:19:43 +02:00
Carsten Otto
ea22a6722f add debug statement 2022-05-21 20:54:10 +02:00