Commit Graph

129 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
4796c6f592 fix: MPP self-payments
fixes #47
2022-05-30 22:23:33 +02:00
Carsten Otto
f28f01ed57 move /beta/pickhardt-payments/ to /api/payments/ 2022-05-28 12:59:40 +02:00
Carsten Otto
c06487faeb fix: do not override payment options for top-up 2022-05-27 23:33:32 +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
3c50596437 add top-up functionality 2022-05-22 16:00:50 +02:00
Carsten Otto
d17d61756c add basic top up service 2022-05-22 14:43:50 +02:00
Carsten Otto
911e217aef add graph service and "number of known channels" endpoint 2022-05-17 16:56:51 +02:00
Carsten Otto
1ce2c58081 add "reset graph cache" endpoint 2022-05-17 16:16:30 +02:00
Carsten Otto
9a2f0d9af3 get copy of messages to avoid duplicates 2022-05-15 18:04:52 +02:00
Carsten Otto
215e0bc23b add MPP sender with payment loop 2022-05-15 17:58:03 +02:00
Carsten Otto
1442a1d0f8 return long value as string to avoid JSON issues 2022-05-13 18:33:03 +02:00
Carsten Otto
96d60d6bda read max htlc from policy 2022-05-13 18:31:05 +02:00
Carsten Otto
daad59ef1d move unused constant 2022-05-13 18:16:22 +02:00
Carsten Otto
5959ee5b38 extract ui into dedicated module 2022-05-11 08:17:54 +02:00
Carsten Otto
f09c3f3326 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
097afbdda9 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
fe341b0249 add tests 2022-05-11 07:12:35 +02:00
Carsten Otto
da0a30af8d cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
d591962a44 add test 2022-05-11 07:12:35 +02:00
Carsten Otto
b07f2ce38c cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
0305d8ac8d refactor 2022-05-11 07:12:35 +02:00
Carsten Otto
7de94d2a0f refactor 2022-05-11 07:12:35 +02:00
Carsten Otto
0c69d9f9b2 allow queries for channel ID in all supported formats 2022-05-11 07:12:35 +02:00
Carsten Otto
aa51837cd6 parse channel ID from all supported formats 2022-05-11 07:12:35 +02:00
Carsten Otto
6695e74b46 use channel ID converter 2022-05-11 07:12:35 +02:00
Carsten Otto
77cae0c07a cleanup 2022-05-11 07:12:35 +02:00
Carsten Otto
96a84eb675 cleanup, use converter 2022-05-11 07:12:35 +02:00
Carsten Otto
1c9595483b rename "chan" to "channel" 2022-05-11 07:12:35 +02:00
Carsten Otto
cf03cf259e accept channel ID in all supported formats 2022-05-11 07:12:35 +02:00
danielbroll
ab91b9ed2b pmd 2022-05-11 07:12:35 +02:00
danielbroll
e7e7bcf374 fix checkstyle 2022-05-11 07:12:35 +02:00
danielbroll
647de17c17 thymeleaf dashboard 2022-05-11 07:12:35 +02:00
Carsten Otto
d1567f45d8 pay payment requests via pickhardt payments 2022-05-04 20:59:34 +02:00
Carsten Otto
0a84e83158 move models 2022-04-30 15:38:32 +02:00
Carsten Otto
9f965902a5 refactor Route 2022-04-30 15:23:24 +02:00
Carsten Otto
e928c53eda move Edge to model module 2022-04-28 19:01:47 +02:00
Carsten Otto
e5949c9d5f fix fee computation
- compute fees per hop
- fees for first hop are not paid
- show fees for first hop
2022-04-23 11:03:28 +02:00
Carsten Otto
08c561ddc2 use fee rate weight instead of factor 2022-04-02 01:27:41 +02:00
Carsten Otto
399e78a899 introduce fee rate factor 2022-04-01 00:21:49 +02:00
Carsten Otto
37cd0e88e2 include fee rate for routes in output 2022-03-27 19:18:13 +02:00
Carsten Otto
02ab2d8e09 include MPP fee rate in output 2022-03-27 19:14:27 +02:00
Carsten Otto
3d630e9073 add fees to route output 2022-03-27 14:23:15 +02:00
Carsten Otto
298e1090e8 include fees in #pickhardtpayments JSON output 2022-03-27 14:12:56 +02:00
Carsten Otto
785eeffa21 rename class 2022-03-27 00:34:23 +01:00
Carsten Otto
aaf4cc9b37 rename "policies" to "policies for local channel" 2022-03-22 20:19:31 +01:00