Merge pull request #5078 from carlaKC/fix-comment

lnrpc: correct comment on half life seconds
This commit is contained in:
Conner Fromknecht 2021-03-05 12:29:59 -08:00 committed by GitHub
commit b121d1da4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

@ -1190,10 +1190,10 @@ var xxx_messageInfo_SetMissionControlConfigResponse proto.InternalMessageInfo
type MissionControlConfig struct {
//
//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
//in seconds. Setting this value to a higher value will penalize failures for
//longer, making mission control less likely to route through nodes and
//channels that we have previously recorded failures for.
//or channel back to 50% success probability, expressed in seconds. Setting
//this value to a higher value will penalize failures for longer, making
//mission control less likely to route through nodes and channels that we
//have previously recorded failures for.
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

@ -399,10 +399,10 @@ message SetMissionControlConfigResponse {
message MissionControlConfig {
/*
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
in seconds. Setting this value to a higher value will penalize failures for
longer, making mission control less likely to route through nodes and
channels that we have previously recorded failures for.
or channel back to 50% success probability, expressed in seconds. Setting
this value to a higher value will penalize failures for longer, making
mission control less likely to route through nodes and channels that we
have previously recorded failures for.
*/
uint64 half_life_seconds = 1;

@ -1110,7 +1110,7 @@
"half_life_seconds": {
"type": "string",
"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": {
"type": "number",