Commit Graph

620 Commits

Author SHA1 Message Date
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
Carsten Otto
75c9460476 update spring boot 2022-05-21 20:53:27 +02:00
Carsten Otto
a9040d94c2 add convenience method 2022-05-19 20:51:34 +02:00
Carsten Otto
9b1315867d replace constant by builder method 2022-05-19 20:51:22 +02:00
Carsten Otto
a82c5cdc4a add "createPaymentRequest" 2022-05-19 20:50:41 +02:00
Carsten Otto
51d0dce92f add error log message
see #18
2022-05-19 18:10:33 +02:00
Carsten Otto
911e217aef add graph service and "number of known channels" endpoint 2022-05-17 16:56:51 +02:00
Carsten Otto
393765c61d improve test 2022-05-17 16:42:15 +02:00
Carsten Otto
d6dfef4b91 fix pitest 2022-05-17 16:18:29 +02:00
Carsten Otto
1ce2c58081 add "reset graph cache" endpoint 2022-05-17 16:16:30 +02:00
Carsten Otto
b02aceb383 print error for unsupported (non amd64) platforms 2022-05-17 15:29:16 +02:00
Carsten Otto
14d446bf9e add support for regtest network 2022-05-17 14:51:55 +02:00
Carsten Otto
c32873bda2 add async 2022-05-17 10:30:34 +02:00
Carsten Otto
9593dfd161 allow channels with non-zero base fee
Note that this is an over-approximation. In the routing cost computation
it is assumed that the base fee is paid not just once per payment, but
possibly several times.

As an example, with a base fee of 2sat and a quantization of 10,000sat
(which is the current default), the assumed fee rate is the original
fee rate plus 200ppm (2sat * 1,000,000 / 10,000).

fixes #31
2022-05-17 10:15:04 +02:00
Carsten Otto
8e61ff4d7d allow up to 30 minutes for streaming request 2022-05-17 10:15:04 +02:00