lncli+routerrpc: dynamic capacity fraction config

Enable setting and getting of the apriori capacity fraction in lncli and
in the router rpc.
This commit is contained in:
bitromortac committed 2023-02-24 15:28:55 +01:00
1 parent 26d1f427df
commit fce88e8b5d
6 files changed
+412 -359

No files matched your search

+8
View File
@@ -580,6 +580,14 @@ message AprioriParameters {
available.
*/
double weight = 3;
/*
The fraction of a channel's capacity that we consider to have liquidity. For
amounts that come close to or exceed the fraction, an additional penalty is
applied. A value of 1.0 disables the capacity factor. Allowed values are in
[0.75, 1.0].
*/
double capacity_fraction = 4;
}
message QueryProbabilityRequest {