Carsten Otto
9f965902a5
refactor Route
2022-04-30 15:23:24 +02:00
Carsten Otto
ee527fea6b
update pmd and cpd
2022-04-30 13:57:47 +02:00
Carsten Otto
a45af0090c
update pitest
2022-04-30 13:57:47 +02:00
Carsten Otto
c811abfc87
refactor route(s) related code
2022-04-29 19:04:17 +02:00
Carsten Otto
e8dd1fb355
update guava
2022-04-28 22:35:34 +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
d633e6e984
add isFailure method
2022-04-26 23:42:45 +02:00
Carsten Otto
7076bdb53d
add payment address to decoded payment request
2022-04-26 23:42:45 +02:00
Carsten Otto
56d310714b
remove unused settings
2022-04-26 22:39:31 +02:00
Carsten Otto
79eab5567f
move lnd settings to configuration file
2022-04-26 22:24:18 +02:00
Carsten Otto
fa92772367
make pickhardt payment details configurable
2022-04-25 19:57:29 +02:00
Carsten Otto
01aaad605f
document configuration file
...
fixes #5
2022-04-25 19:34:43 +02:00
Carsten Otto
a0bf89db9d
replace methods by enum
2022-04-25 19:32:23 +02:00
Carsten Otto
6ea1567342
make "online percentage/changes" warnings configurable
2022-04-25 19:09:51 +02:00
Carsten Otto
ae328b199e
make "node flow" warning configurable
2022-04-25 18:55:01 +02:00
Carsten Otto
126398e1d4
make max_num_updates for channel warning configurable
2022-04-25 09:27:37 +02:00
Carsten Otto
22a0573f95
make lower/upper thresholds for channel warning configurable
2022-04-25 08:57:25 +02:00
Carsten Otto
395dbd1152
rename "hardcoded" to "configuration"
2022-04-25 08:18:19 +02:00
Carsten Otto
76e717c9c3
decode payment requests
2022-04-24 18:54:23 +02:00
Carsten Otto
acad337dc7
fix cltv delta / expiry computation
2022-04-24 11:08:48 +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
c1ae292f4a
treat local channels as free
2022-04-23 14:51:38 +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
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
3ee45fdd38
remove stray space
2022-04-23 10:26:41 +02:00
Carsten Otto
207a0bdc88
add basic support for testnet nodes
2022-04-22 22:07:22 +02:00
Carsten Otto
27015f3ae3
remove (outdated) .java-version
2022-04-22 20:01:08 +02:00
Carsten Otto
514afc6b39
refactor, extend, fix and add tests
2022-04-22 19:59:28 +02:00
Carsten Otto
76e00f556b
document file location
2022-04-22 19:59:28 +02:00
Carsten Otto
09cbdb0379
add examples for hardcoded resolutions
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
96e21ae89b
update spring boot
2022-04-22 19:50:15 +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
7d5fff1245
notify listeners in background
2022-04-11 00:15:21 +02:00
Carsten Otto
9fbdcfc590
ensure message is acked
2022-04-10 23:00:20 +02:00
Carsten Otto
cc91aedcfd
add basic middleware support
2022-04-10 19:39:04 +02:00
Carsten Otto
73ac81ff5f
update jacoco
2022-04-05 12:13:20 +02:00
Carsten Otto
f86731aa2b
update lightning proto
2022-04-04 19:56:46 +02:00
Carsten Otto
b871cdde82
do not use local channels that cannot be found or where peer is offline
2022-04-02 19:00:36 +02:00
Carsten Otto
dd4d2074ea
remove expensive regular expression matching for pubkeys
2022-04-02 17:58:20 +02:00
Carsten Otto
7c673501c0
use specialized maps for (pubkey) integer mapping
2022-04-02 17:20:26 +02:00
Carsten Otto
aa95bc8aa1
use specialized map for edge mapping
2022-04-02 17:20:26 +02:00
Carsten Otto
8b7cda87d0
provide initial capacity for maps
2022-04-02 17:07:09 +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
72e1d50be6
add convenience constructor
2022-04-02 16:07:44 +02:00