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:
Joost Jager committed 2019-09-05 08:35:04 +02:00
1 parent 866867a4b0
commit 99a920f2a3
4 files changed
+578 -519

No files matched your search

+7 -1
View File
@@ -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]"
}
}
},