mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-04 17:00:20 +02:00
multi: mark bimodal estimator experimental
This commit is contained in:
parent
170677be2b
commit
a3e46dae9f
@ -65,7 +65,8 @@ var setCfgCommand = cli.Command{
|
|||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "estimator",
|
Name: "estimator",
|
||||||
Usage: "the probability estimator to use, choose " +
|
Usage: "the probability estimator to use, choose " +
|
||||||
"between 'apriori' or 'bimodal'",
|
"between 'apriori' or 'bimodal' (bimodal is " +
|
||||||
|
"experimental)",
|
||||||
},
|
},
|
||||||
// Apriori config.
|
// Apriori config.
|
||||||
cli.DurationFlag{
|
cli.DurationFlag{
|
||||||
|
@ -1667,7 +1667,7 @@ type MissionControlConfig struct {
|
|||||||
// before we raise the failure amount.
|
// before we raise the failure amount.
|
||||||
MinimumFailureRelaxInterval uint64 `protobuf:"varint,5,opt,name=minimum_failure_relax_interval,json=minimumFailureRelaxInterval,proto3" json:"minimum_failure_relax_interval,omitempty"`
|
MinimumFailureRelaxInterval uint64 `protobuf:"varint,5,opt,name=minimum_failure_relax_interval,json=minimumFailureRelaxInterval,proto3" json:"minimum_failure_relax_interval,omitempty"`
|
||||||
// ProbabilityModel defines which probability estimator should be used in
|
// ProbabilityModel defines which probability estimator should be used in
|
||||||
// pathfinding.
|
// pathfinding. Note that the bimodal estimator is experimental.
|
||||||
Model MissionControlConfig_ProbabilityModel `protobuf:"varint,6,opt,name=model,proto3,enum=routerrpc.MissionControlConfig_ProbabilityModel" json:"model,omitempty"`
|
Model MissionControlConfig_ProbabilityModel `protobuf:"varint,6,opt,name=model,proto3,enum=routerrpc.MissionControlConfig_ProbabilityModel" json:"model,omitempty"`
|
||||||
// EstimatorConfig is populated dependent on the estimator type.
|
// EstimatorConfig is populated dependent on the estimator type.
|
||||||
//
|
//
|
||||||
|
@ -513,7 +513,7 @@ message MissionControlConfig {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
ProbabilityModel defines which probability estimator should be used in
|
ProbabilityModel defines which probability estimator should be used in
|
||||||
pathfinding.
|
pathfinding. Note that the bimodal estimator is experimental.
|
||||||
*/
|
*/
|
||||||
ProbabilityModel model = 6;
|
ProbabilityModel model = 6;
|
||||||
|
|
||||||
|
@ -1477,7 +1477,7 @@
|
|||||||
},
|
},
|
||||||
"model": {
|
"model": {
|
||||||
"$ref": "#/definitions/MissionControlConfigProbabilityModel",
|
"$ref": "#/definitions/MissionControlConfigProbabilityModel",
|
||||||
"description": "ProbabilityModel defines which probability estimator should be used in\npathfinding."
|
"description": "ProbabilityModel defines which probability estimator should be used in\npathfinding. Note that the bimodal estimator is experimental."
|
||||||
},
|
},
|
||||||
"apriori": {
|
"apriori": {
|
||||||
"$ref": "#/definitions/routerrpcAprioriParameters"
|
"$ref": "#/definitions/routerrpcAprioriParameters"
|
||||||
|
@ -1106,6 +1106,7 @@ litecoin.node=ltcd
|
|||||||
[routerrpc]
|
[routerrpc]
|
||||||
|
|
||||||
; Probability estimator used for pathfinding. (default: apriori)
|
; Probability estimator used for pathfinding. (default: apriori)
|
||||||
|
; Note that the bimodal estimator is experimental.
|
||||||
; routerrpc.estimator=[apriori|bimodal]
|
; routerrpc.estimator=[apriori|bimodal]
|
||||||
|
|
||||||
; Minimum required route success probability to attempt the payment (default:
|
; Minimum required route success probability to attempt the payment (default:
|
||||||
@ -1156,7 +1157,7 @@ litecoin.node=ltcd
|
|||||||
; Defines how strongly non-routed channels of forwarders should be taken into
|
; Defines how strongly non-routed channels of forwarders should be taken into
|
||||||
; account for probability estimation. A weight of zero disables this feature.
|
; account for probability estimation. A weight of zero disables this feature.
|
||||||
; Valid values are in [0, 1]. (default: 0.2)
|
; Valid values are in [0, 1]. (default: 0.2)
|
||||||
; routerrpc.bimodal.nodeweight=0.3
|
; routerrpc.bimodal.nodeweight=0.1
|
||||||
|
|
||||||
; Defines the information decay of knowledge about previous successes and
|
; Defines the information decay of knowledge about previous successes and
|
||||||
; failures in channels. (default: 168h0m0s)
|
; failures in channels. (default: 168h0m0s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user