Commit Graph

127 Commits

Author SHA1 Message Date
Carsten Otto
d9836779e5 allow custom "maxAge" for liquidity bounds information 2022-04-30 17:31:04 +02:00
Carsten Otto
9279d43b44 avoid crash with conflicting liquidity information 2022-04-30 15:49:53 +02:00
Carsten Otto
0a84e83158 move models 2022-04-30 15:38:32 +02:00
Carsten Otto
e928c53eda move Edge to model module 2022-04-28 19:01:47 +02:00
Carsten Otto
5f4393b5ba use int instead of long for block height (expiry) 2022-04-27 20:35:16 +02:00
Carsten Otto
7076bdb53d add payment address to decoded payment request 2022-04-26 23:42:45 +02:00
Carsten Otto
76e717c9c3 decode payment requests 2022-04-24 18:54:23 +02:00
Carsten Otto
e7926a81f7 revert recent policy change
a policy now (again) contains the expiry delta settings of the peer setting the policy
2022-04-24 10:40:19 +02:00
Carsten Otto
5b080874c6 compute total expiry and per hop 2022-04-23 23:10:48 +02:00
Carsten Otto
17366cfca8 add time lock delta to policy 2022-04-23 15:17:13 +02:00
Carsten Otto
a050d3a7b4 Revert "treat local channels as free"
The modified policy is used to compute the fee for the
first hop (even though it is not paid). As such, it must
not be modified.

This reverts commit ed69174c10.
2022-04-23 12:55:11 +02:00
Carsten Otto
ed69174c10 treat local channels as free 2022-04-23 12:46:51 +02:00
Carsten Otto
514afc6b39 refactor, extend, fix and add tests 2022-04-22 19:59:28 +02:00
danielbroll
c396bc351d fix(hardcoded): extract hardcoded node aliases to "hardcoded" module (and make it configurable) 2022-04-22 19:59:28 +02:00
Carsten Otto
d68efdcbab keep information about liquidity bounds
and use it for pickhardt payments
2022-04-12 22:44:20 +02:00
Carsten Otto
cc91aedcfd add basic middleware support 2022-04-10 19:39:04 +02:00
Carsten Otto
dd4d2074ea remove expensive regular expression matching for pubkeys 2022-04-02 17:58:20 +02:00
Carsten Otto
812f7062ae compute hashcode once 2022-04-02 17:07:09 +02:00
Carsten Otto
1f889bf648 compare pubkeys via byte[] data 2022-04-02 16:35:22 +02:00
Carsten Otto
4ac6c796b0 normalize unit cost for large channel
with this the effect of the fee rate weight does
not depend on the size of the largest channel
2022-04-02 02:01:26 +02:00
Carsten Otto
fdd727cce6 ignore channels with non-zero base fee 2022-03-27 19:50:02 +02:00
Carsten Otto
73e9ce20f2 add convenience method 2022-03-27 00:10:43 +01:00
Carsten Otto
261f8f5438 add channel policy to edge 2022-03-26 20:54:58 +01:00
Carsten Otto
aaf4cc9b37 rename "policies" to "policies for local channel" 2022-03-22 20:19:31 +01:00
Carsten Otto
8804a28538 add basic support for #PickhardtPayments
work in progress, see https://github.com/C-Otto/lnd-manageJ/issues/6
2022-03-20 19:12:58 +01:00
Carsten Otto
f5f3c34707 add minimum function for Coins 2022-03-20 00:12:05 +01:00
Carsten Otto
3775744343 add mission control service 2022-03-13 18:39:33 +01:00
Carsten Otto
cf39bfd62b get LN graph via gRPC 2022-03-13 15:26:05 +01:00
Carsten Otto
b3df494383 add fourth pubkey to fixtures 2022-03-13 15:20:33 +01:00
Carsten Otto
ba9719e2aa change wording of warning 2022-02-28 14:19:08 +01:00
Carsten Otto
81281ab484 add channel balance fluctuation warning 2022-02-27 15:02:24 +01:00
Carsten Otto
0b87aa1534 add channel warnings (num updates > 100k) 2022-02-26 19:47:12 +01:00
Carsten Otto
8a55785cea return num updates as part of channel information 2022-02-26 17:59:20 +01:00
Carsten Otto
88bbaa8c22 parse num_updates for open channels 2022-02-26 17:45:41 +01:00
Carsten Otto
a559d14280 add /api/warnings providing all known (node) warnings 2022-01-16 16:46:43 +01:00
Carsten Otto
4ce8f7d379 compute online percentage over 14 days 2022-01-16 13:24:31 +01:00
Carsten Otto
6e610c7d89 make days for online percentage/changes configurable 2022-01-16 11:45:47 +01:00
Carsten Otto
47fba1eb34 extract closed channel aware cache, use it where possible 2022-01-15 15:50:04 +01:00
Carsten Otto
4e865d5c6f warn if peer has no flow for >= 14 days 2022-01-14 13:20:22 +01:00
Carsten Otto
9eb8f86160 add flow reports 2022-01-10 20:51:49 +01:00
Carsten Otto
af07eb9eac add max age support to rebalance/self payments 2022-01-10 14:26:37 +01:00
Carsten Otto
2d49014f4d do not query dao for channels closed a long time ago 2021-12-30 15:38:47 +01:00
Carsten Otto
3375ff2abb enable addition of fee reports 2021-12-30 14:22:17 +01:00
Carsten Otto
4d1b83e2a7 get forwarding events filtered by maximum age 2021-12-30 14:22:17 +01:00
Carsten Otto
e141e167e0 add warning/info: number of online/offline changes in past week 2021-12-28 11:00:51 +01:00
Carsten Otto
de40c32f63 add node warnings functionality (at the moment: only online percentage) 2021-12-27 20:26:24 +01:00
Carsten Otto
8ef3436f96 add ID to exception message 2021-12-26 11:58:11 +01:00
Carsten Otto
6d9e33b18d report online percentage in online report 2021-12-25 20:28:58 +01:00
Carsten Otto
c3eead54bc add online report 2021-12-24 16:16:28 +01:00
Carsten Otto
ddc156e566 replace isClosed etc. by instanceof
this fixes a class cycle
2021-12-24 13:43:30 +01:00