routerrpc: report route success probability
The intention of adding this field is to make probability based path finding more transparent and help understand why a route is returned.
This commit is contained in:
4 files changed
+578
-519
No files matched your search
@@ -3163,7 +3163,13 @@
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/lnrpcRoute"
|
||||
}
|
||||
},
|
||||
"description": "*\nThe route that results from the path finding operation. This is still a\nrepeated field to retain backwards compatibility."
|
||||
},
|
||||
"success_prob": {
|
||||
"type": "number",
|
||||
"format": "double",
|
||||
"title": "*\nThe success probability of the returned route based on the current mission\ncontrol state. [EXPERIMENTAL]"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user