Commit Graph

694 Commits

Author SHA1 Message Date
Carsten Otto
eb43aa53d3 make class and constructor public 2022-06-09 16:18:21 +02:00
Carsten Otto
15d9beff34 scale rating by days
fixes #52
2022-06-09 16:14:19 +02:00
Carsten Otto
12c5ae003c remove bonus point for ratings 2022-06-09 15:47:53 +02:00
danielbroll
8361a421b6 channel details: show channel age (in blocks, days with 2016 blocks/day) 2022-06-06 17:10:13 +02:00
danielbroll
56e82e2e45 add title for all icons 2022-06-06 17:10:13 +02:00
danielbroll
50ae5e4748 node details: differentiate "closed" into coop/force/breach closed 2022-06-06 17:10:13 +02:00
danielbroll
babe98edcc node details: show max 3 closed channels and hide the rest 2022-06-06 17:10:13 +02:00
danielbroll
20b34a968a node details: show pubkey (copy to clipboard) 2022-06-06 17:10:13 +02:00
danielbroll
73aee2de6f show pubkey in URL (to enable copy paste), redirect from search result page if necessary 2022-06-06 17:10:13 +02:00
Carsten Otto
2b4fb44aaa fail edge computation without connected middleware
fixes #36
2022-06-06 16:39:53 +02:00
Carsten Otto
973a3ef2be rename controller 2022-06-06 16:10:26 +02:00
Carsten Otto
f840b30c01 automatically reconnect to middleware after failure/shutdown
fixes #39
2022-06-06 16:08:21 +02:00
Carsten Otto
adf3795d47 ignore inactive local channels for route computation 2022-06-06 15:46:35 +02:00
Carsten Otto
b6e36b8691 query for open channels only 2022-06-06 15:32:28 +02:00
Carsten Otto
224c338dc1 fix: terminate loop if there are only invalid (non-settled) invoices
fixes #48
2022-06-06 15:21:40 +02:00
Carsten Otto
e068b8867a allow configuration of durations used for ratings 2022-06-03 16:46:40 +02:00
Carsten Otto
d820e43595 tweak factor for rebalanced amounts 2022-06-03 13:21:09 +02:00
Carsten Otto
c5a4685e9e take local balance into account for rating 2022-06-03 11:46:50 +02:00
Carsten Otto
fd3ec7353f add basic support for ratings 2022-06-03 10:58:52 +02:00
Carsten Otto
3b4ac5d340 fix syntax 2022-06-03 10:57:59 +02:00
Carsten Otto
a77874124d use channel ID to compute open height 2022-06-03 09:45:17 +02:00
danielbroll
db25d0a1a5 status page 2022-06-02 18:06:12 +02:00
Carsten Otto
5e08e230ed legacy: fix styling, pad values 2022-06-02 17:46:05 +02:00
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