lnrpc: correct comment on half life seconds
Field is not a unix timestamp, it's just number of seconds.
This commit is contained in:
parent
660d37a335
commit
cd1a8b2d3a
@ -1190,10 +1190,10 @@ var xxx_messageInfo_SetMissionControlConfigResponse proto.InternalMessageInfo
|
|||||||
type MissionControlConfig struct {
|
type MissionControlConfig struct {
|
||||||
//
|
//
|
||||||
//The amount of time mission control will take to restore a penalized node
|
//The amount of time mission control will take to restore a penalized node
|
||||||
//or channel back to 50% success probability, expressed as a unix timestamp
|
//or channel back to 50% success probability, expressed in seconds. Setting
|
||||||
//in seconds. Setting this value to a higher value will penalize failures for
|
//this value to a higher value will penalize failures for longer, making
|
||||||
//longer, making mission control less likely to route through nodes and
|
//mission control less likely to route through nodes and channels that we
|
||||||
//channels that we have previously recorded failures for.
|
//have previously recorded failures for.
|
||||||
HalfLifeSeconds uint64 `protobuf:"varint,1,opt,name=half_life_seconds,json=halfLifeSeconds,proto3" json:"half_life_seconds,omitempty"`
|
HalfLifeSeconds uint64 `protobuf:"varint,1,opt,name=half_life_seconds,json=halfLifeSeconds,proto3" json:"half_life_seconds,omitempty"`
|
||||||
//
|
//
|
||||||
//The probability of success mission control should assign to hop in a route
|
//The probability of success mission control should assign to hop in a route
|
||||||
|
@ -399,10 +399,10 @@ message SetMissionControlConfigResponse {
|
|||||||
message MissionControlConfig {
|
message MissionControlConfig {
|
||||||
/*
|
/*
|
||||||
The amount of time mission control will take to restore a penalized node
|
The amount of time mission control will take to restore a penalized node
|
||||||
or channel back to 50% success probability, expressed as a unix timestamp
|
or channel back to 50% success probability, expressed in seconds. Setting
|
||||||
in seconds. Setting this value to a higher value will penalize failures for
|
this value to a higher value will penalize failures for longer, making
|
||||||
longer, making mission control less likely to route through nodes and
|
mission control less likely to route through nodes and channels that we
|
||||||
channels that we have previously recorded failures for.
|
have previously recorded failures for.
|
||||||
*/
|
*/
|
||||||
uint64 half_life_seconds = 1;
|
uint64 half_life_seconds = 1;
|
||||||
|
|
||||||
|
@ -1109,7 +1109,7 @@
|
|||||||
"half_life_seconds": {
|
"half_life_seconds": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "uint64",
|
"format": "uint64",
|
||||||
"description": "The amount of time mission control will take to restore a penalized node\nor channel back to 50% success probability, expressed as a unix timestamp\nin seconds. Setting this value to a higher value will penalize failures for\nlonger, making mission control less likely to route through nodes and\nchannels that we have previously recorded failures for."
|
"description": "The amount of time mission control will take to restore a penalized node\nor channel back to 50% success probability, expressed in seconds. Setting\nthis value to a higher value will penalize failures for longer, making\nmission control less likely to route through nodes and channels that we\nhave previously recorded failures for."
|
||||||
},
|
},
|
||||||
"hop_probability": {
|
"hop_probability": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
|
Loading…
Reference in New Issue
Block a user